Enum util::error::YabsErrorKind
[−]
pub enum YabsErrorKind {
Msg(String),
Io(Error),
TomlDe(Error),
WalkDir(Error),
SetLog(SetLoggerError),
UTF8(FromUtf8Error),
Regex(Error),
NoAssumedToml(String),
Command(String, i32),
DirExists(PathBuf),
TargetNotFound(String, String),
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
Io(Error)TomlDe(Error)WalkDir(Error)SetLog(SetLoggerError)UTF8(FromUtf8Error)Regex(Error)NoAssumedToml(String)Command(String, i32)DirExists(PathBuf)TargetNotFound(String, String)Methods
impl YabsErrorKind
fn description(&self) -> &str
A string describing the error kind.