Enum conch_runtime::error::CommandError [] [src]

pub enum CommandError {
    NotFound(String),
    NotExecutable(String),
    Io(IoErrorOption<String>),
}

An error which may arise when spawning a command process.

Variants

Unable to find a command/function/builtin to execute.

Utility or script does not have executable permissions.

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]

[src]

Formats the value using the given formatter.

impl Eq for CommandError
[src]

impl PartialEq for CommandError
[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 CommandError
[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 CommandError
[src]

[src]

Formats the value using the given formatter. Read more

impl IsFatalError for CommandError
[src]

[src]

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