Skip to content

basalt / drives/src / DriveUnsupportedError

Class: DriveUnsupportedError ​

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

The provider adapter does not implement an optional capability.

Extends ​

Constructors ​

Constructor ​

> new DriveUnsupportedError(provider, capability): DriveUnsupportedError

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

Parameters ​

provider ​

string

capability ​

string

Returns ​

DriveUnsupportedError

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

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

Released under the MIT License.