Enum conch_runtime::error::RuntimeError
[−]
[src]
pub enum RuntimeError { Io(IoError, Option<String>), Expansion(ExpansionError), Redirection(RedirectionError), Command(CommandError), Unimplemented(&'static str), }
An error which may arise while executing commands.
Variants
Io(IoError, Option<String>)
Any I/O error returned by the OS during execution and the file that caused the error if applicable.
Expansion(ExpansionError)
Any error that occured during a parameter expansion.
Redirection(RedirectionError)
Any error that occured during a redirection.
Command(CommandError)
Any error that occured during a command spawning.
Unimplemented(&'static str)
Runtime feature not currently supported.
Trait Implementations
impl Debug for RuntimeError
[src]
impl Eq for RuntimeError
[src]
impl PartialEq for RuntimeError
[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) -> bool
1.0.0[src]
This method tests for !=
.
impl Error for RuntimeError
[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 RuntimeError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl IsFatalError for RuntimeError
[src]
impl From<IoError> for RuntimeError
[src]
impl From<ExpansionError> for RuntimeError
[src]
fn from(err: ExpansionError) -> Self
[src]
Performs the conversion.
impl From<RedirectionError> for RuntimeError
[src]
fn from(err: RedirectionError) -> Self
[src]
Performs the conversion.
impl From<CommandError> for RuntimeError
[src]
fn from(err: CommandError) -> Self
[src]
Performs the conversion.