Skip to content

basalt / drives/src / DriveCredentialsInvalidError

Class: DriveCredentialsInvalidError ​

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

The stored credentials no longer work and cannot be recovered without the user re-consenting. The connection is marked invalid and stops being used.

Extends ​

Constructors ​

Constructor ​

> new DriveCredentialsInvalidError(connectionId, reason): DriveCredentialsInvalidError

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

Parameters ​

connectionId ​

string

reason ​

string

Returns ​

DriveCredentialsInvalidError

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: 401 = 401

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

Released under the MIT License.