pub enum CvxError {
Storage(StorageError),
Index(IndexError),
Query(QueryError),
Ingest(IngestError),
Analytics(AnalyticsError),
Explain(ExplainError),
Config(String),
}Expand description
Top-level error type wrapping all subsystem errors.
Library crates use their specific error types internally.
At the API boundary, errors are converted to CvxError for uniform handling.
Variants§
Storage(StorageError)
Error from the storage subsystem.
Index(IndexError)
Error from the index subsystem.
Query(QueryError)
Error from the query engine.
Ingest(IngestError)
Error from the ingestion pipeline.
Analytics(AnalyticsError)
Error from the analytics engine.
Explain(ExplainError)
Error from the interpretability layer.
Config(String)
Configuration error.
Trait Implementations§
Source§impl Error for CvxError
impl Error for CvxError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AnalyticsError> for CvxError
impl From<AnalyticsError> for CvxError
Source§fn from(source: AnalyticsError) -> Self
fn from(source: AnalyticsError) -> Self
Converts to this type from the input type.
Source§impl From<ExplainError> for CvxError
impl From<ExplainError> for CvxError
Source§fn from(source: ExplainError) -> Self
fn from(source: ExplainError) -> Self
Converts to this type from the input type.
Source§impl From<IndexError> for CvxError
impl From<IndexError> for CvxError
Source§fn from(source: IndexError) -> Self
fn from(source: IndexError) -> Self
Converts to this type from the input type.
Source§impl From<IngestError> for CvxError
impl From<IngestError> for CvxError
Source§fn from(source: IngestError) -> Self
fn from(source: IngestError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for CvxError
impl From<QueryError> for CvxError
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for CvxError
impl From<StorageError> for CvxError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CvxError
impl !RefUnwindSafe for CvxError
impl Send for CvxError
impl Sync for CvxError
impl Unpin for CvxError
impl !UnwindSafe for CvxError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more