Expand description
Error type for the memory layer.
Enums§
- Error
Category - The transport-neutral class of a
MemoryError— the single source of truth every adapter maps onto its own error channel (JSON-RPC code, napi status,PyO3exception type), so the taxonomy can never drift between them.non_exhaustiveso a future category is a wildcard arm downstream instead of a breaking release. That trades away the compile-time exhaustiveness the in-repo adapters relied on, soErrorCategory::ALLrestores it as a test-time guard: each adapter iteratesALLand asserts its mapping is total, which turns “someone added a category” from a silent fallback into a red test naming the unmapped variant. - Memory
Error - Errors returned by
crate::service::MemoryService.