Skip to content

basalt / drives/src / DriveItemNotFoundError

Class: DriveItemNotFoundError ​

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

The provider says the item does not exist (any more).

Extends ​

Constructors ​

Constructor ​

> new DriveItemNotFoundError(provider, externalId): DriveItemNotFoundError

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

Parameters ​

provider ​

string

externalId ​

string

Returns ​

DriveItemNotFoundError

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

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

Released under the MIT License.