Enum sea_orm::TryGetError
source · pub enum TryGetError {
DbErr(DbErr),
Null(String),
}
Expand description
An error from trying to get a row from a Model
Variants§
DbErr(DbErr)
A database error was encountered as defined in crate::DbErr
Null(String)
A null value was encountered
Trait Implementations§
source§impl Debug for TryGetError
impl Debug for TryGetError
source§impl From<DbErr> for TryGetError
impl From<DbErr> for TryGetError
source§fn from(e: DbErr) -> TryGetError
fn from(e: DbErr) -> TryGetError
Converts to this type from the input type.
source§impl From<TryGetError> for DbErr
impl From<TryGetError> for DbErr
source§fn from(e: TryGetError) -> DbErr
fn from(e: TryGetError) -> DbErr
Converts to this type from the input type.