Errors
Typed error hierarchy for Wolbarg 0.6 — ValidationError, RerankError, StorageLockedError, CancellationError, and more.
Hierarchy
WolbargError— baseConfigurationError— bad configProviderNotConfiguredError— method needs a missing provider (e.g.compresswithoutllm)
InitializationError— open / probe failedValidationError— bad method arguments (including hybrid/rerank misconfig)DatabaseError/EmbeddingError/CompressionErrorRerankError— built-in reranker HTTP / empty ranking failureMemoryNotFoundErrorVersionConflictError— CAS mismatch onexpectedVersionStorageLockedError— codeWOLBARG_STORAGE_LOCKEDCancellationError— AbortSignal cancelled an in-flight operationwrapOperationError— helper to wrap unknown errors
Fail-closed hybrid / rerank (0.6.0)
| Situation | Error |
|---|---|
hybrid: true without keywordSearch | ValidationError |
rerank: true without reranker | ValidationError |
| Built-in reranker provider failure | RerankError |
There is no silent semantic-only or identity-order fallback. See Hybrid Search and Rerankers.
WOLBARG_STORAGE_LOCKED
Thrown when SQLite write-lock retries are exhausted under multi-process contention.
| Field | Meaning |
|---|---|
| Code | WOLBARG_STORAGE_LOCKED |
| When | BEGIN IMMEDIATE / busy retries exceed concurrency.maxRetries |
| Suggestion | Increase retries / lockTimeoutMs, reduce writer fan-out, or switch to Postgres |
See Concurrency.
CancellationError
Thrown when signal aborts during remember / recall / update / compress / forget (and related helpers). In-flight embedding HTTP aborts.
Graph errors (removed)
GraphCheckpointNotSupportedError and graph-related ProviderNotConfiguredError examples are obsolete — graph memory was removed in 0.6.0.