ethers-decode-error icon indicating copy to clipboard operation
ethers-decode-error copied to clipboard

A utility library for ethers.js to easily handle custom errors and extract the actual error message/reason from a smart contract transaction.

Results 2 ethers-decode-error issues
Sort by recently updated
recently updated
newest added

The errorData could be null when the error is thrown from hardhat / ethers.js, hence a "Cannot read properties of null (reading 'data')" error will occur when setting returnData at...

The way it currently works is that you send a transactions using ethers and if transaction fails you provide a generated exception to this library so that it extracts and...