UNPKG
@libp2p/aes-ctr
Version:
latest (1.0.1)
1.0.1
1.0.0
0.0.0
Streaming AES-CTR for node and browsers
github.com/libp2p/js-libp2p-aes-ctr
libp2p/js-libp2p-aes-ctr
@libp2p/aes-ctr
/
dist
/
src
/
errors.js
11 lines
•
300 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * Thrown when key length is invalid */
export
class
InvalidKeyLengthError
extends
Error
{
static
name =
'InvalidKeyLengthError'
;
constructor
(
message =
'Invalid key length'
) {
super
(message);
this
.
name
=
'InvalidKeyLengthError'
; } }
//# sourceMappingURL=errors.js.map