Skip to main content
zerotal

Documentation


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

ZerotalError.constructor

Properties

code

readonly code: string

Defined in: errors/ZerotalError.ts:18

Inherited from

ZerotalError.code


status

readonly status: number = 500

Defined in: errors/ZerotalError.ts:19

Inherited from

ZerotalError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: errors/ZerotalError.ts:20

Inherited from

ZerotalError.context