Enum teloxide::dispatching::dialogue::SqliteStorageError
source · pub enum SqliteStorageError<SE>where
SE: Debug + Display,{
SerdeError(SE),
SqliteError(Error),
DialogueNotFound,
}
Available on crate feature
sqlite-storage
only.Expand description
An error returned from SqliteStorage
.
Variants§
Trait Implementations§
source§impl<SE> Error for SqliteStorageError<SE>where
SE: Debug + Display,
Self: Debug + Display,
impl<SE> Error for SqliteStorageError<SE>where SE: Debug + Display, Self: Debug + Display,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()