UNPKG
@chainsafe/libp2p-noise
Version:
latest (17.0.0)
17.0.0
16.1.5
16.1.4
16.1.3
16.1.2
16.1.1
16.1.0
16.0.3
16.0.2
16.0.1
16.0.0
15.1.2
15.1.1
15.1.0
15.0.0
14.1.0
14.0.0
13.0.5
13.0.4
13.0.3
13.0.2
13.0.1
13.0.0
12.0.2
12.0.1
12.0.0
11.0.4
11.0.2
11.0.1
11.0.0
10.2.0
10.1.0
10.0.1
10.0.0
9.0.0
8.0.2
8.0.1
8.0.0
7.0.3
7.0.2
7.0.1
7.0.0
6.2.0
6.1.1
6.1.0
6.0.1
6.0.0
5.0.3
5.0.2
5.0.1
5.0.0
4.1.2
4.1.1
4.1.0
4.0.0
Noise libp2p handshake for js-libp2p
github.com/ChainSafe/js-libp2p-noise
ChainSafe/js-libp2p-noise
@chainsafe/libp2p-noise
/
dist
/
src
/
errors.js
9 lines
•
289 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
export
class
InvalidCryptoExchangeError
extends
Error
{ code;
constructor
(
message =
'Invalid crypto exchange'
) {
super
(message);
this
.
code
=
InvalidCryptoExchangeError
.
code
; }
static
code =
'ERR_INVALID_CRYPTO_EXCHANGE'
; }
//# sourceMappingURL=errors.js.map