pub enum GraphDBError {
InitializationError(String),
QueryError(String),
NodeError(String),
EdgeError(String),
SerializationError(Error),
ConnectionError(String),
DatabaseError(String),
}Expand description
Errors that can occur during graph database operations.
Variants§
InitializationError(String)
Database initialization failed
QueryError(String)
Query execution failed
NodeError(String)
Node operation failed
EdgeError(String)
Edge operation failed
SerializationError(Error)
Serialization/deserialization error
ConnectionError(String)
Connection error
DatabaseError(String)
Generic database error
Trait Implementations§
Source§impl Debug for GraphDBError
impl Debug for GraphDBError
Source§impl Display for GraphDBError
impl Display for GraphDBError
Source§impl Error for GraphDBError
impl Error for GraphDBError
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 GraphDBError
impl !UnwindSafe for GraphDBError
impl Freeze for GraphDBError
impl Send for GraphDBError
impl Sync for GraphDBError
impl Unpin for GraphDBError
impl UnsafeUnpin for GraphDBError
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