Skip to content

basalt / files/src / FileTenantReservedError

Class: FileTenantReservedError ​

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

A tenant id equal to SINGLE_TENANT_SCOPE. That string is the store key of a single-tenant app's files, so a tenant carrying it would read and delete them. The default tenancy grammar can never produce it; a custom one that does must pick another id.

Extends ​

Constructors ​

Constructor ​

> new FileTenantReservedError(): FileTenantReservedError

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

Returns ​

FileTenantReservedError

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

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

Released under the MIT License.