@ignored/hardhat-vnext-errors
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Hardhat errors

This packages has the definition of the error classes used by Hardhat, and the list of possible errors.

This module exports:

  1. The error class HardhatError, which has a static field ERRORS, with the different ErrorDescriptors that it accepts.
  2. The interface ErrorDescriptor.
  3. The assertion helper assertHardhatInvariant.

Package Sidebar

Install

npm i @ignored/hardhat-vnext-errors

Weekly Downloads

424

Version

2.0.0

License

MIT

Unpacked Size

182 kB

Total Files

18

Last publish

Collaborators

  • omartawfik
  • nomic-foundation-publisher
  • zoeytm
  • antico5
  • kanej
  • fvictorio
  • alcuadrado