Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: enzoferey/ethers-error-parser

Expose types (v0.2.3)

15 Dec 23:06
@enzoferey enzoferey
d4e452b
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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
Assets 2
Loading

Expose return error codes (v0.2.2)

25 Sep 12:58
@enzoferey enzoferey
2338b7d
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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
Loading

New errors support (v0.2.1)

18 Sep 15:23
@enzoferey enzoferey
986eec2
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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
Loading

New errors support (v0.2.0)

20 Aug 22:22
@enzoferey enzoferey
bb8d1fa
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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
Loading

Core improvements (v0.1.1)

25 Jul 11:24
@enzoferey enzoferey
38df4a8
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Changes

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

First release (v0.1.0)

23 Jul 23:28
@enzoferey enzoferey
bd989a3
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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 🙏

Loading

AltStyle によって変換されたページ (->オリジナル) /