Skip to content

basalt / storage/src / StorageCrossTenantCopyError

Class: StorageCrossTenantCopyError ​

Defined in: storage/src/errors.ts:242

A copy running on a tenant-scoped disk named a central (scope: null) destination inside the tenants/ tree. The destination disk has no scope to contain the key, so it would land in whichever tenant's tree the key names. 403: the caller asked to write where its tenant may not.

Extends ​

Constructors ​

Constructor ​

> new StorageCrossTenantCopyError(disk, key): StorageCrossTenantCopyError

Defined in: storage/src/errors.ts:244

Parameters ​

disk ​

string

key ​

string

Returns ​

StorageCrossTenantCopyError

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: storage/src/errors.ts:243

Released under the MIT License.