Skip to content

basalt / search/src / SearchTenantReservedError

Class: SearchTenantReservedError ​

Defined in: search/src/search.ts:82

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

Extends ​

Constructors ​

Constructor ​

> new SearchTenantReservedError(): SearchTenantReservedError

Defined in: search/src/search.ts:84

Returns ​

SearchTenantReservedError

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: search/src/search.ts:83

Released under the MIT License.