Skip to content

basalt / tenancy/src / TenantResolutionConflictError

Class: TenantResolutionConflictError ​

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

Two resolvers named different tenants for the same request and the plugin runs with onConflict: 'error'. 400: the request contradicts itself (e.g. an x-tenant-id header that disagrees with the Host).

Extends ​

Constructors ​

Constructor ​

> new TenantResolutionConflictError(ids): TenantResolutionConflictError

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

Parameters ​

ids ​

string[]

Returns ​

TenantResolutionConflictError

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

Released under the MIT License.