UNPKG

@jhubbardsf/ethers-decode-error

Version:

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

3 lines (2 loc) 282 B
var r;!function(r){r[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"}(r||(r={}));export{r as ErrorType}; //# sourceMappingURL=enums.mjs.map