ArgParsingErrorKind enum
The kind of argument parsing error encountered.
Constructors
- ArgParsingErrorKind()
-
const
Values
- unknownOption → const ArgParsingErrorKind
-
The given option was unknown.
- parsingValue → const ArgParsingErrorKind
-
The argument's ValueParser threw a ValueParserException when parsing the argument's value.
- tooManyPositionals → const ArgParsingErrorKind
-
More positional arguments than available were given.
- missingCommand → const ArgParsingErrorKind
-
A command is required but was not given.
- missingPositionals → const ArgParsingErrorKind
-
Some positional arguments that are required were not given.
- missingOptionValue → const ArgParsingErrorKind
-
An option that requires a value was not given one.
- unknownCommand → const ArgParsingErrorKind
-
The given command was unknown.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ArgParsingErrorKind> - A constant List of the values in this enum, in order of their declaration.