Repository navigation
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.