UNPKG
@hyperlane-xyz/starknet-core
Version:
hyper (16.3.0-hyper.0)
latest (19.4.0)
m0bridgetest (18.3.1-m0bridgetest.2)
starknet (13.0.0-starknet.0)
19.4.0
19.3.0
19.2.0
19.1.1
19.1.0
19.0.0
19.0.0-m0bridgetest.0
18.3.1-m0bridgetest.2
18.3.1-m0bridgetest.1
18.3.0
18.2.0
18.1.0
18.0.0
17.0.0
16.3.0-hyper.0
16.2.0
16.1.1
16.1.0
16.0.0
15.0.0
14.4.0
14.3.0
14.2.0
14.1.0
14.0.0
13.4.0
13.3.0
13.2.1
13.2.0
13.1.1
13.1.0
13.0.0
13.0.0-starknet.1
13.0.0-starknet.0
Core cairo contracts for Hyperlane
www.hyperlane.xyz
hyperlane-xyz/hyperlane-monorepo
@hyperlane-xyz/starknet-core
/
dist
/
errors.js
11 lines
•
306 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
class
ContractError
extends
Error
{ code; details;
constructor
(
code, details
) {
super
(
`[
${code}
]
${details ?
JSON
.stringify(details) :
''
}
`
);
this
.
code
= code;
this
.
details
= details;
this
.
name
=
'ContractError'
; } }
//# sourceMappingURL=errors.js.map