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