CommandParsingErrorCode

This is needed mostly for testing purposes

Values

ValueMeaning
none0
argumentParserError1 << 0

Since we don't need to test the underlying argument parser, this is a placeholder. Ideally, we should mirror those errors here, or something like that.

tooManyPositionalArgumentsError1 << 1
bindError1 << 2

Either trying to bind a positional argument or a named one.

duplicateNamedArgumentError1 << 3
countArgumentGivenValueError1 << 4
noValueForNamedArgumentError1 << 5
unknownNamedArgumentError1 << 6
tooFewPositionalArgumentsError1 << 7
missingNamedArgumentsError1 << 8

Meta