pub fn classify_sqlite_error(error: &Error) -> SqliteErrorClassExpand description
Classify a rusqlite error at the storage level.
Adoption contract: store crates route every raw rusqlite::Error
through this one classifier when deciding transient-vs-corrupt at their
store boundary, instead of re-matching SQLite error codes locally.
SqliteErrorClass::Other is the store layer’s to interpret (constraint
violations become CAS/stale semantics there, not here). Classification
alone never authorizes a retry — see the crate-level retryability note.