Skip to content

Releases: enzoferey/ethers-error-parser

Expose types (v0.2.3)

15 Dec 23:06
d4e452b
Compare
Choose a tag to compare

Highlights

  • Exports the EthersError and ReturnValue types for easier usage in TypeScript.

Changes

  • feat: expose types for better TypeScript usage #40
  • core: bump version to v0.2.3 #41

Expose return error codes (v0.2.2)

25 Sep 12:58
2338b7d
Compare
Choose a tag to compare

Highlights

  • Exports the RETURN_VALUE_ERROR_CODES constants object that defines the possible errorCode returned by getParsedEthersError.

Changes

  • feat: expose RETURN_VALUE_ERROR_CODES constant #34
  • core: bump version to v0.2.2 #35

New errors support (v0.2.1)

18 Sep 15:23
986eec2
Compare
Choose a tag to compare

Highlights

  • Supports transaction rejected via ethers code ACTION_REJECTED.
  • Supports calls reverts via ethers code code CALL_EXCEPTION.

Changes

  • docs: add missing return error codes #22
  • docs: add pull requests templates #23
  • docs: change to single pull request template #24
  • docs: fix checklist title formatting #25
  • feat: support transaction rejected via code #28
  • feat: support call reverted #29
  • docs: display package size via badge #30
  • core: bump version to v0.2.1 #31

New errors support (v0.2.0)

20 Aug 22:22
bb8d1fa
Compare
Choose a tag to compare

Breaking changes

  • TRANSACTION_RUN_OUT_OF_GAS returned error code has been renamed to TRANSACTION_RAN_OUT_OF_GAS.

Changes

  • docs: fix yarn install typo #4
  • docs: create issue templates #10
  • refactor: fix run past tense typo #11
  • core: improve types file test coverage ignore pattern #12
  • feat: support nonce too low error #14
  • feat: support execution reverted during gas estimation #15
  • feat: support insufficient funds for gas #16
  • feat: support unpredictable gas limit issues related to gas #19
  • feat: update dependencies #20
  • core: bump version to v0.2.0 #21

Core improvements (v0.1.1)

25 Jul 11:24
38df4a8
Compare
Choose a tag to compare

Changes

  • docs: improve coverage display #2
  • core: implement first release improvements #3

First release (v0.1.0)

23 Jul 23:28
bd989a3
Compare
Choose a tag to compare

Parse Ethers.js errors with ease 💅🏻

This package is a work in progress. Although it is not yet complete and many Ethers errors could be handled more elegantly, it is safe to use in production as it is. Some insights is better than no insights.

This package is being used in different production projects and it is in constant evolution based on the needs of these projects. If you find some error that is not handled yet or that does not provide a great context, please open an issue or pull request 🙏