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
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl From<YabsErrorKind> for YabsError
fn from(e: YabsErrorKind) -> Self
Performs the conversion.
impl Debug for YabsErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more