Enum dbmigrate_lib::errors::ErrorKind [−][src]
pub enum ErrorKind {
Msg(String),
Io(Error),
Postgres(Error),
MySQL(Error),
Sqlite(Error),
// some variants omitted
}
Expand description
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Tuple Fields of Msg
0: String
Io(Error)
Failed to created/read migration files
Tuple Fields of Io
0: Error
Postgres(Error)
Couldn’t get connection to pg database
Tuple Fields of Postgres
0: Error
MySQL(Error)
Any MySQL error
Tuple Fields of MySQL
0: Error
Sqlite(Error)
Any Sqlite error
Tuple Fields of Sqlite
0: Error
Implementations
A string describing the error kind.