Enum repl_rs::Error [−][src]
pub enum Error {
IllegalRequiredError(String),
IllegalDefaultError(String),
MissingRequiredArgument(String, String),
TooManyArguments(String, usize),
ParseIntError(ParseIntError),
ParseFloatError(ParseFloatError),
CommandError(String),
UnknownCommand(String),
}Expand description
Error type
Variants
IllegalRequiredError(String)Parameter is required when it shouldn’t be
IllegalDefaultError(String)Parameter is defaulted when it’s also required
A required argument is missing
Too many arguments were provided
ParseIntError(ParseIntError)Error parsing an int value
ParseFloatError(ParseFloatError)Error parsing a float value
CommandError(String)Generic error on command
UnknownCommand(String)Command not found
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Errorimpl UnwindSafe for Error