Skip to content

basalt / search/src / SearchTenantMismatchError

Class: SearchTenantMismatchError ​

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

An explicit tenantId named a different tenant than the one the call runs in. The context tenant is authoritative; an argument may narrow to it, never widen past it.

Extends ​

Constructors ​

Constructor ​

> new SearchTenantMismatchError(): SearchTenantMismatchError

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

Returns ​

SearchTenantMismatchError

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

Released under the MIT License.