pub enum HanzoDbError {
ConnectionError(String),
QueryError(String),
SchemaError(String),
InvalidSchema(String),
InvalidData(String),
TransactionError(String),
MigrationError(String),
NotImplemented(String),
}Expand description
Database error types
Variants§
ConnectionError(String)
QueryError(String)
SchemaError(String)
InvalidSchema(String)
InvalidData(String)
TransactionError(String)
MigrationError(String)
NotImplemented(String)
Trait Implementations§
Source§impl Debug for HanzoDbError
impl Debug for HanzoDbError
Source§impl Display for HanzoDbError
impl Display for HanzoDbError
Source§impl Error for HanzoDbError
impl Error for HanzoDbError
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()
Auto Trait Implementations§
impl Freeze for HanzoDbError
impl RefUnwindSafe for HanzoDbError
impl Send for HanzoDbError
impl Sync for HanzoDbError
impl Unpin for HanzoDbError
impl UnwindSafe for HanzoDbError
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