Skip to content

basalt / drives/src / DriveTenantMismatchError

Class: DriveTenantMismatchError ​

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

An explicit tenantId disagreed with the tenant in context (anti-widening).

Extends ​

Constructors ​

Constructor ​

> new DriveTenantMismatchError(): DriveTenantMismatchError

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

Returns ​

DriveTenantMismatchError

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

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

Released under the MIT License.