Skip to content

basalt / tenancy/src / TenantSuspendedError

Class: TenantSuspendedError ​

Defined in: tenancy/src/tenant.ts:291

The request resolved to a tenant whose status is suspended. 403, not 503: the tenant's storage is fine and retrying will not help — the account itself is not allowed in until the app lifts the suspension.

Extends ​

Constructors ​

Constructor ​

> new TenantSuspendedError(id): TenantSuspendedError

Defined in: tenancy/src/tenant.ts:293

Parameters ​

id ​

string

Returns ​

TenantSuspendedError

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: tenancy/src/tenant.ts:292

Released under the MIT License.