CommandError

public enum CommandError : Error

Command Error Enum

  • wrongFlagPattern: Received a wrong flag patter, such as ---f
  • flagNeedsValue: Flag requires a value that was not set
  • flagNotFound: Flag with name cannot be found
  • requiredFlagsWasNotSet: Required flag was not set
  • unexpectedFlagPassed: Parsed an unexpected flag name
  • commandGeneralError: General command related error
  • unknownError: Unknown error occured
  • incorrectFlagValue: An incorrect value type was passed to the flag
  • wrongCommandUsageString: Wrong usage string was passed to the command
  • wrongFlagLongName: Wrong long name was passed for flag
  • wrongFlagShortName: Wrong long name was passed for flag