Enum conch_runtime::error::RuntimeError [] [src]

pub enum RuntimeError {
    Io(IoErrorOption<String>),
    Expansion(ExpansionError),
    Redirection(RedirectionError),
    Command(CommandError),
    Unimplemented(&'static str),
}

An error which may arise while executing commands.

Variants

Any I/O error returned by the OS during execution and the file that caused the error if applicable.

Any error that occured during a parameter expansion.

Any error that occured during a redirection.

Any error that occured during a command spawning.

Runtime feature not currently supported.

Trait Implementations

impl Debug for RuntimeError
[src]

[src]

Formats the value using the given formatter.

impl Eq for RuntimeError
[src]

impl PartialEq for RuntimeError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Error for RuntimeError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl Display for RuntimeError
[src]

[src]

Formats the value using the given formatter. Read more

impl IsFatalError for RuntimeError
[src]

[src]

Checks whether the error should be considered a "fatal" error.

impl From<IoError> for RuntimeError
[src]

[src]

Performs the conversion.

impl From<ExpansionError> for RuntimeError
[src]

[src]

Performs the conversion.

impl From<RedirectionError> for RuntimeError
[src]

[src]

Performs the conversion.

impl From<CommandError> for RuntimeError
[src]

[src]

Performs the conversion.