Enum easy_args::errors::Error [−][src]
pub enum Error {
UnknownArgument(String),
MissingParameter(String, ArgType),
InvalidParameter(String, ArgType, String),
RedeclaredArgument(String),
RepeatedArgument(String),
InvalidArgumentName(String),
}Expand description
The error types for argument parsing.
If user inputs arguments incorrectly, [ArgSpec::parse()] will return [Err(Error)].
Variants
UnknownArgument(String)RedeclaredArgument(String)RepeatedArgument(String)InvalidArgumentName(String)Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Errorimpl UnwindSafe for Error