UNPKG

@jhubbardsf/ethers-decode-error

Version:

Decode ethers.js smart contract errors into human-readable messages

9 lines (8 loc) 156 B
export declare enum ErrorType { UserError = 0, EmptyError = 1, RevertError = 2, PanicError = 3, UnknownError = 4, CustomError = 5 }