Skip to content

basalt / drives/src / DriveConnectionNotFoundError

Class: DriveConnectionNotFoundError ​

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

The connection does not exist in this tenant.

A connection that belongs to another tenant produces this same error, not a 403: telling the caller "it exists but is not yours" is itself a cross-tenant disclosure (it turns connection ids into an oracle for which tenants exist).

Extends ​

Constructors ​

Constructor ​

> new DriveConnectionNotFoundError(id): DriveConnectionNotFoundError

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

Parameters ​

id ​

string

Returns ​

DriveConnectionNotFoundError

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:36

Released under the MIT License.