Enum checked_command::Error
[−]
pub enum Error {
Io(IoError),
Failure(ExitStatus, Option<Output>),
}error type representing either a io::Error or a
failure caused by a non-successful exit status i.e.
without exit code or a exit code not equal zero.
Variants
Io(IoError)a io::Error occurred when handling the action
Failure(ExitStatus, Option<Output>)Process exited with a non-zero exit code
Trait Implementations
impl Debug for Error[src]
impl Display for Error
impl Error for Error
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