Enum shrust::ExecError
[−]
[src]
pub enum ExecError {
Empty,
Quit,
MissingArgs,
UnknownCommand(String),
InvalidHistory(usize),
Other(Box<Error>),
}Command execution error
Variants
EmptyEmpty command provided
QuitExit from the shell loop
MissingArgsSome arguments are missing
UnknownCommand(String)The provided command is unknown
InvalidHistory(usize)The history index is not valid
Other(Box<Error>)Other error that may have happen during command execution