UNPKG

@jhubbardsf/ethers-decode-error

Version:

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

3 lines (2 loc) 303 B
var r;exports.ErrorType=void 0,(r=exports.ErrorType||(exports.ErrorType={}))[r.UserError=0]="UserError",r[r.EmptyError=1]="EmptyError",r[r.RevertError=2]="RevertError",r[r.PanicError=3]="PanicError",r[r.UnknownError=4]="UnknownError",r[r.CustomError=5]="CustomError"; //# sourceMappingURL=enums.cjs.map