Enum migrant_lib::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), StringUtf8Error(FromUtf8Error), StrUtf8Error(Utf8Error), TomlDe(Error), TomlSe(Error), UrlParse(ParseError), ChronoParse(ParseError), Config(String), Migration(String), MigrationComplete(String), MigrationNotFound(String), ShellCommand(String), PathError(String), TagError(String), InvalidDbKind(String), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
StringUtf8Error(FromUtf8Error)
StrUtf8Error(Utf8Error)
TomlDe(Error)
TomlSe(Error)
UrlParse(ParseError)
ChronoParse(ParseError)
Config(String)
Migration(String)
MigrationComplete(String)
MigrationNotFound(String)
ShellCommand(String)
PathError(String)
TagError(String)
InvalidDbKind(String)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.