Documentation / @zerotal/core / security / DecryptionError
Class: DecryptionError
Defined in: crypt/Crypt.ts:31
Raised when a payload cannot be decrypted — wrong key or tampered data.
Extends
Constructors
Constructor
new DecryptionError():
DecryptionError
Defined in: crypt/Crypt.ts:32
Returns
DecryptionError
Overrides
Properties
code
readonlycode:string
Defined in: errors/ZerotalError.ts:18
Inherited from
status
readonlystatus:number=500
Defined in: errors/ZerotalError.ts:19
Inherited from
context?
readonlyoptionalcontext?:Record<string,unknown>
Defined in: errors/ZerotalError.ts:20