UNPKG
@ordao/ethers-decode-error
Version:
latest (1.4.4)
1.4.4
1.4.3
1.4.2
1.4.1
1.3.2
1.3.1
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.3
1.1.2
1.1.1
1.1.0
1.0.17
1.0.16
1.0.5
1.0.3
1.0.2
1.0.1
Decode ethers.js smart contract errors into human-readable messages
sim31/ordao
@ordao/ethers-decode-error
/
dist
/
common
/
enums.d.ts
10 lines
(9 loc)
•
264 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
declare
enum
ErrorType
{
EmptyError
=
"EmptyError"
,
RevertError
=
"RevertError"
,
PanicError
=
"PanicError"
,
CustomError
=
"CustomError"
,
UserRejectError
=
"UserRejectError"
,
RpcError
=
"RpcError"
,
UnknownError
=
"UnknownError"
}