Enum argi::Error [−][src]
pub enum Error {
DataRequired(Vec<String>),
DataRequiredArg(String),
Io(Error),
InvalidCurExe,
CommandNotFound((String, Vec<String>)),
ArgumentNotFound((String, Vec<String>)),
NothingInputted,
InvalidData(&'static str),
}
Expand description
Represents potential parsing errors which may occur
Variants
Data was required after known command/argument in stack but was not found
DataRequiredArg(String)
Data was required for argument but was not found
Tuple Fields of DataRequiredArg
0: String
Io(Error)
Input/output error
Tuple Fields of Io
0: Error
Current executable name is invalid
Command name provided could not be found
Argument name provided could not be found
Nothing was inputted
InvalidData(&'static str)
Invalid data was provided
Tuple Fields of InvalidData
0: &'static str