Skip to content

basalt / search/src / SearchDriverCapabilityError

Class: SearchDriverCapabilityError ​

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

The driver lacks an optional operation the call needs — today clearTenant, for a tenant-scoped reindex(). Thrown before anything is read or cleared; falling back to clear() would wipe every other tenant.

Extends ​

Constructors ​

Constructor ​

> new SearchDriverCapabilityError(operation, purpose): SearchDriverCapabilityError

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

Parameters ​

operation ​

string

purpose ​

string

Returns ​

SearchDriverCapabilityError

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: 501 = 501

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

Released under the MIT License.