CommandLineArgumentErrorCategory Enumeration
Specifies the kind of error that occurred while parsing arguments.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
public enum CommandLineArgumentErrorCategory
Public Enumeration CommandLineArgumentErrorCategory
Dim instance As CommandLineArgumentErrorCategory
public enum class CommandLineArgumentErrorCategory
Unspecified | 0 |
The category was not specified.
|
ArgumentValueConversion | 1 |
The argument value supplied could not be converted to the type of the argument.
|
UnknownArgument | 2 |
The argument name supplied does not name a known argument.
|
MissingNamedArgumentValue | 3 |
An argument name was supplied, but without an accompanying value.
|
DuplicateArgument | 4 |
An argument was supplied more than once.
|
TooManyArguments | 5 |
Too many positional arguments were supplied.
|
MissingRequiredArgument | 6 |
Not all required arguments were supplied.
|
InvalidDictionaryValue | 7 |
Invalid value for a dictionary argument; typically the result of a duplicate key.
|
CreateArgumentsTypeError | 8 |
An error occurred creating an instance of the arguments type (e.g. the constructor threw an exception).
|
ApplyValueError | 9 |
An error occurred applying the value of the argument (e.g. the property set accessor threw an exception).
|
NullArgumentValue | 10 |
An argument value was after conversion from a string, and the argument type is a value
type or (in .Net 6.0 and later) a non-nullable reference type.
|
CombinedShortNameNonSwitch | 11 |
A combined short argument contains an argument that is not a switch.
|
ValidationFailed | 12 |
An instance of a class derived from the ArgumentValidationAttribute
class failed to validate the argument.
|
DependencyFailed | 13 |
An argument failed a dependency check performed by the RequiresAttribute
or the ProhibitsAttribute class.
|