elips/docs
Chapter IX · observability

Error model

Errors are typed. Catch them with intent.

text
std::runtime_error
└── elips::ElipsError
    ├── ConfigError          // identity / dimension / embedder mismatch
    ├── StorageError         // WAL / segments / lock / read-only writes
    ├── DimensionMismatch    // wrong-shape vector
    ├── InvalidVector        // NaN / Inf
    ├── NotFound             // unknown id, missing vault
    └── EmbedderError        // text embedding failure
python
try:
    vault.place([float("nan")] * 4)
except elips.InvalidVector as e:
    log.warning("rejected: %s", e)