Skip to main content

issundb_retrieval/
error.rs

1use thiserror::Error;
2
3/// Structured errors representing all hybrid retrieval faults.
4#[derive(Debug, Error)]
5pub enum RetrievalError {
6    #[error("underlying storage error: {0}")]
7    Core(#[from] issundb_core::Error),
8
9    #[error("vector index error: {0}")]
10    Vector(#[from] issundb_vector::VectorError),
11
12    #[error("text search error: {0}")]
13    Text(#[from] issundb_text::TextError),
14}