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