Expand description
Error enums for the TinyQuant core.
Three enums cover the three architectural layers:
CodecError— codec layer (config, codebook, quantize, compress)CorpusError— corpus aggregate layerBackendError— backend/search layer
All variants are Clone + PartialEq so they can be threaded
through Arc and matched in tests.
See docs/design/rust/error-model.md for the full taxonomy,
Python-exception mapping, and FFI conversion table.
Enums§
- Backend
Error - Errors produced by the search-backend layer.
- Codec
Error - Errors produced by the codec layer.
- Corpus
Error - Errors produced by the corpus aggregate layer.