Enum libimaginteraction::error::InteractionErrorKind
[−]
pub enum InteractionErrorKind { Msg(String), Unknown, CLIError, IdMissingError, StoreIdParsingError, IdSelectingError, ConfigError, ConfigMissingError, ConfigTypeError, NoConfigError, ReadlineHistoryFileCreationError, ReadlineError, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Unknown
CLIError
IdMissingError
StoreIdParsingError
IdSelectingError
ConfigError
ConfigMissingError
ConfigTypeError
NoConfigError
ReadlineHistoryFileCreationError
ReadlineError
Methods
impl InteractionErrorKind
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl From<InteractionErrorKind> for InteractionError
fn from(e: InteractionErrorKind) -> Self
Performs the conversion.
impl Debug for InteractionErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for InteractionErrorKind
impl<'a> From<&'a str> for InteractionErrorKind
impl From<String> for InteractionErrorKind
impl From<InteractionError> for InteractionErrorKind
fn from(e: InteractionError) -> Self
Performs the conversion.