ArgParsingError class
An exception thrown when parsing arguments fails.
Constructors
- ArgParsingError.missingCommand()
- ArgParsingError.missingOptionValue(String option)
-
ArgParsingError.missingPositionals(List<
String> positionals) - ArgParsingError.parsingValue({required String name, required String value, required String reason})
- ArgParsingError.tooManyPositionals(String positional)
- ArgParsingError.unknownCommand(String command)
- ArgParsingError.unknownOption({required String arg})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → ArgParsingErrorKind
-
final
- message → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited