Exceptions

ExceptionThrown when
CommandDefinitionExceptionInvalid or conflicting command definition at registration time
NamespaceDefinitionExceptionInvalid namespace definition, or a namespace/command name collision, at registration time
CommandMappingExceptionA MapTo/MapToSignature correlation is invalid (unmapped option or type mismatch) at registration time
CommandParseExceptionInput could not be parsed into a valid command structure
CommandInputExceptionUser input is rejected — fails a constraint, or references an undefined or duplicate option
OptionArgumentExceptionOption argument cannot be converted to the declared type
CommandExecutionExceptionThe command being executed has no Handler (or AsyncHandler) defined
RangeOverflowExceptionInput exceeds the scanner’s maximum length (or an internal buffer capacity)