pub enum AvilaError {
Validation(String),
NotFound(String),
Storage(String),
Serialization(String),
Compression(String),
Query(String),
Network(String),
Config(String),
VectorSearch(String),
Internal(String),
}Expand description
Main error type for AvilaDB operations
Variants§
Validation(String)
Document validation errors
NotFound(String)
Document not found
Storage(String)
Storage errors
Serialization(String)
Serialization/deserialization errors
Compression(String)
Compression errors
Query(String)
Query errors
Network(String)
Network errors
Config(String)
Configuration errors
VectorSearch(String)
Vector search errors
Internal(String)
Generic errors
Trait Implementations§
Source§impl Debug for AvilaError
impl Debug for AvilaError
Source§impl Display for AvilaError
impl Display for AvilaError
Source§impl Error for AvilaError
impl Error for AvilaError
1.30.0 · 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<Error> for AvilaError
impl From<Error> for AvilaError
Auto Trait Implementations§
impl Freeze for AvilaError
impl RefUnwindSafe for AvilaError
impl Send for AvilaError
impl Sync for AvilaError
impl Unpin for AvilaError
impl UnwindSafe for AvilaError
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