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: StringThere was a problem with the database connection
Exec(String)
Tuple Fields
0: StringAn operation did not execute successfully
Query(String)
Tuple Fields
0: StringAn error occurred while performing a query
RecordNotFound(String)
Tuple Fields
0: StringThe record was not found in the database
Custom(String)
Tuple Fields
0: StringA custom error
Type(String)
Tuple Fields
0: StringError occurred while parsing value as target type
Trait Implementations
Performs the conversion.