Skip to content

0.2.4

Latest

Choose a tag to compare

@moazzamgodil moazzamgodil released this 01 Jun 19:50

Web3 Errors Extract | version 0.2.4

Feat: enhance error handling and testing setup

  • Updated package.json to include Jest for testing with scripts for running tests and watch mode.
  • Added tryParseJSON utility function to safely parse JSON strings in multiple files.
  • Improved error handling in executionReverted, getErrOfTx, getErrFromWeb3, and internalRPC modules to handle JSON parsing more robustly.
  • Ensured that transaction errors are properly checked and handled, returning meaningful messages when applicable.