Enum slate::errors::CommandError
[−]
[src]
pub enum CommandError { IO(Error), Slate(SlateError), Argument(String), }
Variants
IO(Error)
Slate(SlateError)
Argument(String)
Trait Implementations
impl Debug for CommandError
[src]
impl Display for CommandError
[src]
impl Error for CommandError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for CommandError
[src]
fn from(err: Error) -> CommandError
Performs the conversion.
impl From<SlateError> for CommandError
[src]
fn from(err: SlateError) -> CommandError
Performs the conversion.
impl From<String> for CommandError
[src]
fn from(err: String) -> CommandError
Performs the conversion.