Skip to content

basalt / drives/src / DriveSecretMalformedError

Class: DriveSecretMalformedError ​

Defined in: drives/src/errors.ts:251

A stored secret is not a recognisable envelope — treated as corruption, never as plaintext.

Extends ​

Constructors ​

Constructor ​

> new DriveSecretMalformedError(detail): DriveSecretMalformedError

Defined in: drives/src/errors.ts:253

Parameters ​

detail ​

string

Returns ​

DriveSecretMalformedError

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


status ​

> readonly status: 500 = 500

Defined in: drives/src/errors.ts:252

Released under the MIT License.