Enum repl_rs::Error [−][src]
pub enum Error {
IllegalRequiredError(String),
IllegalDefaultError(String),
MissingRequiredArgument(String, String),
TooManyArguments(String, usize),
ParseBoolError(ParseBoolError),
ParseIntError(ParseIntError),
ParseFloatError(ParseFloatError),
UnknownCommand(String),
}
Expand description
Error type
Variants
IllegalRequiredError(String)
Parameter is required when it shouldn’t be
Tuple Fields of IllegalRequiredError
0: String
IllegalDefaultError(String)
Parameter is defaulted when it’s also required
Tuple Fields of IllegalDefaultError
0: String
A required argument is missing
Too many arguments were provided
ParseBoolError(ParseBoolError)
Error parsing a bool value
Tuple Fields of ParseBoolError
ParseIntError(ParseIntError)
Error parsing an int value
Tuple Fields of ParseIntError
ParseFloatError(ParseFloatError)
Error parsing a float value
Tuple Fields of ParseFloatError
UnknownCommand(String)
Command not found
Tuple Fields of UnknownCommand
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.