Skip to content

basalt / files/src / FileTenantMismatchError

Class: FileTenantMismatchError ​

Defined in: files/src/files.ts:104

An explicit tenantId named a different tenant than the one the call runs in. The context tenant is authoritative; an argument may narrow to it, never widen past it.

Extends ​

Constructors ​

Constructor ​

> new FileTenantMismatchError(): FileTenantMismatchError

Defined in: files/src/files.ts:106

Returns ​

FileTenantMismatchError

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: files/src/files.ts:105

Released under the MIT License.