UNPKG
cryptobox-hd
Version:
latest (1.0.1)
1.0.1
1.0.0
High-level API with persistent storage for Proteus-HD.
ceoimon/cryptobox-hd
cryptobox-hd
/
src
/
main
/
ts
/
DecryptionError.ts
11 lines
(9 loc)
•
282 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
class
DecryptionError
extends
Error
{
constructor
(
public
message
:
string
) {
super
(message);
Object
.
setPrototypeOf
(
this
,
DecryptionError
.
prototype
);
this
.
message
= message;
this
.
name
= (<
any
>
this
).
constructor
.
name
;
this
.
stack
=
new
Error
().
stack
; } }