Enum artifact_app::types::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), Fmt(Error), TomlDecode(DecodeError), StrFmt(FmtError), Load(String), TomlParse(String), MissingTable, InvalidName(String), InvalidAttr(String, String), InvalidSettings(String), InvalidArtifact(String, String), InvalidTextVariables, InvalidPartof, NameNotFound(String), LocNotFound, InvalidUnicode(String), CmdError(String), PathNotFound(String), NotEqual(String), Security(String), Internal(String), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
Fmt(Error)
TomlDecode(DecodeError)
StrFmt(FmtError)
Load(String)
TomlParse(String)
MissingTable
InvalidName(String)
InvalidAttr(String, String)
InvalidSettings(String)
InvalidArtifact(String, String)
InvalidTextVariables
InvalidPartof
NameNotFound(String)
LocNotFound
InvalidUnicode(String)
CmdError(String)
PathNotFound(String)
NotEqual(String)
Security(String)
Internal(String)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.