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.