Enum dbmigrate_lib::errors::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
Io(Error),
Postgres(Error),
MySQL(Error),
Sqlite(Error),
// some variants omitted
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
Io(Error)Failed to created/read migration files
Postgres(Error)Couldn't get connection to pg database
MySQL(Error)Any MySQL error
Sqlite(Error)Any Sqlite error
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.