Enum conch_runtime::error::CommandError
[−]
[src]
pub enum CommandError {
NotFound(String),
NotExecutable(String),
Io(IoError, Option<String>),
}An error which may arise when spawning a command process.
Variants
NotFound(String)Unable to find a command/function/builtin to execute.
NotExecutable(String)Utility or script does not have executable permissions.
Io(IoError, Option<String>)Any I/O error returned by the OS during execution and the file that caused the error if applicable.
Trait Implementations
impl Debug for CommandError[src]
impl Eq for CommandError[src]
impl PartialEq for CommandError[src]
fn eq(&self, other: &Self) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Error for CommandError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>[src]
The lower-level cause of this error, if any. Read more
impl Display for CommandError[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more