Enum sea_orm::error::DbErr [−][src]
pub enum DbErr {
Conn(String),
Exec(String),
Query(String),
RecordNotFound(String),
Custom(String),
Type(String),
}
Expand description
An error from unsuccessful database operations
Variants
Conn(String)
Tuple Fields
0: String
There was a problem with the database connection
Exec(String)
Tuple Fields
0: String
An operation did not execute successfully
Query(String)
Tuple Fields
0: String
An error occurred while performing a query
RecordNotFound(String)
Tuple Fields
0: String
The record was not found in the database
Custom(String)
Tuple Fields
0: String
A custom error
Type(String)
Tuple Fields
0: String
Error occurred while parsing value as target type
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DbErr
impl UnwindSafe for DbErr
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more