pub enum AstraeaError {
Show 25 variants
PageNotFound(PageId),
PageCorrupted(PageId, String),
BufferPoolFull(PageId),
StorageIo(Error),
Storage(String),
NodeNotFound(NodeId),
EdgeNotFound(EdgeId),
DuplicateNode(NodeId),
DuplicateEdge(EdgeId),
WriteConflict(u64),
TransactionNotActive,
ParseError {
position: usize,
message: String,
},
QueryExecution(String),
UnknownLabel(String),
UnknownEdgeType(String),
DimensionMismatch {
expected: usize,
got: usize,
},
NoEmbedding(NodeId),
IndexNotBuilt,
Serialization(String),
Deserialization(String),
Config(String),
AuthenticationRequired,
InvalidCredentials,
AccessDenied(String),
Tls(String),
}Expand description
Top-level error type for AstraeaDB.
Variants§
PageNotFound(PageId)
PageCorrupted(PageId, String)
BufferPoolFull(PageId)
StorageIo(Error)
Storage(String)
NodeNotFound(NodeId)
EdgeNotFound(EdgeId)
DuplicateNode(NodeId)
DuplicateEdge(EdgeId)
WriteConflict(u64)
TransactionNotActive
ParseError
QueryExecution(String)
UnknownLabel(String)
UnknownEdgeType(String)
DimensionMismatch
NoEmbedding(NodeId)
IndexNotBuilt
Serialization(String)
Deserialization(String)
Config(String)
AuthenticationRequired
InvalidCredentials
AccessDenied(String)
Tls(String)
Trait Implementations§
Source§impl Debug for AstraeaError
impl Debug for AstraeaError
Source§impl Display for AstraeaError
impl Display for AstraeaError
Source§impl Error for AstraeaError
impl Error for AstraeaError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for AstraeaError
impl !UnwindSafe for AstraeaError
impl Freeze for AstraeaError
impl Send for AstraeaError
impl Sync for AstraeaError
impl Unpin for AstraeaError
impl UnsafeUnpin for AstraeaError
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