Skip to content

basalt / auth/src / SecretBoxKeyError

Class: SecretBoxKeyError ​

Defined in: auth/src/secret-box.ts:43

A secret-box key or its value could not be used (configuration error).

Extends ​

Constructors ​

Constructor ​

> new SecretBoxKeyError(detail): SecretBoxKeyError

Defined in: auth/src/secret-box.ts:46

Parameters ​

detail ​

string

Returns ​

SecretBoxKeyError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


expose ​

> readonly expose: false = false

Defined in: auth/src/secret-box.ts:45


status ​

> readonly status: 500 = 500

Defined in: auth/src/secret-box.ts:44

Released under the MIT License.