pub enum TaitanOrmError {
Show 15 variants
DatabaseInitFail(String),
SqlxError(Error),
BoxDynError(Box<dyn Error + Send + Sync + 'static>),
NotValidCmpErr(NotValidCmpError),
NotValidConditionError(NotValidConditionError),
NotValidOrderByError(NotValidOrderByError),
NotImplementTrait(NotImplementError),
BoxDynError2(Box<dyn Error>),
TemplatePagedNotHasCountSql,
TemplatePageFieldNotFound,
FromRowToEntityError,
OrderByFieldsError,
NotImplement(String),
PagedTemplateHasNoCountSql,
DynamicRequestParseError(String),
}Variants§
DatabaseInitFail(String)
SqlxError(Error)
BoxDynError(Box<dyn Error + Send + Sync + 'static>)
NotValidCmpErr(NotValidCmpError)
NotValidConditionError(NotValidConditionError)
NotValidOrderByError(NotValidOrderByError)
NotImplementTrait(NotImplementError)
BoxDynError2(Box<dyn Error>)
TemplatePagedNotHasCountSql
TemplatePageFieldNotFound
FromRowToEntityError
OrderByFieldsError
NotImplement(String)
PagedTemplateHasNoCountSql
DynamicRequestParseError(String)
Trait Implementations§
Source§impl Debug for TaitanOrmError
impl Debug for TaitanOrmError
Source§impl Display for TaitanOrmError
impl Display for TaitanOrmError
Source§impl Error for TaitanOrmError
impl Error for TaitanOrmError
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()
Source§impl From<Error> for TaitanOrmError
impl From<Error> for TaitanOrmError
Source§impl From<NotImplementError> for TaitanOrmError
impl From<NotImplementError> for TaitanOrmError
Source§fn from(source: NotImplementError) -> Self
fn from(source: NotImplementError) -> Self
Converts to this type from the input type.
Source§impl From<NotValidCmpError> for TaitanOrmError
impl From<NotValidCmpError> for TaitanOrmError
Source§fn from(source: NotValidCmpError) -> Self
fn from(source: NotValidCmpError) -> Self
Converts to this type from the input type.
Source§impl From<NotValidConditionError> for TaitanOrmError
impl From<NotValidConditionError> for TaitanOrmError
Source§fn from(source: NotValidConditionError) -> Self
fn from(source: NotValidConditionError) -> Self
Converts to this type from the input type.
Source§impl From<NotValidOrderByError> for TaitanOrmError
impl From<NotValidOrderByError> for TaitanOrmError
Source§fn from(source: NotValidOrderByError) -> Self
fn from(source: NotValidOrderByError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TaitanOrmError
impl !RefUnwindSafe for TaitanOrmError
impl !Send for TaitanOrmError
impl !Sync for TaitanOrmError
impl Unpin for TaitanOrmError
impl !UnwindSafe for TaitanOrmError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more