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
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: 501 = 501
Defined in: search/src/search.ts:109