basalt / tenancy/src / TenantNotReadyError
Class: TenantNotReadyError
Defined in: tenancy/src/tenant.ts:272
The request resolved to a tenant whose storage is not ready yet (provisioning), no longer usable (deleting) or never finished (failed). 503 rather than 404: the tenant exists, it is simply not serving — and 503 is the status a client may retry.
Extends
Constructors
Constructor
> new TenantNotReadyError(id, status): TenantNotReadyError
Defined in: tenancy/src/tenant.ts:274
Parameters
id
string
status
Returns
TenantNotReadyError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
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
status
> readonly status: 503 = 503
Defined in: tenancy/src/tenant.ts:273