Loading...
Searching...
No Matches
Errors

Errors thrown by CLI11. More...

Classes

class  Error
 All errors derive from this one. More...
 
class  ConstructionError
 Construction errors (not in parsing) More...
 
class  IncorrectConstruction
 Thrown when an option is set to conflicting values (non-vector and multi args, for example) More...
 
class  BadNameString
 Thrown on construction of a bad name. More...
 
class  OptionAlreadyAdded
 Thrown when an option already exists. More...
 
class  ParseError
 Anything that can error in Parse. More...
 
class  Success
 This is a successful completion on parsing, supposed to exit. More...
 
class  CallForHelp
 -h or –help on command line More...
 
class  CallForAllHelp
 Usually something like –help-all on command line. More...
 
class  CallForVersion
 -v or –version on command line More...
 
class  RuntimeError
 Does not output a diagnostic in CLI11_PARSE, but allows main() to return with a specific error code. More...
 
class  FileError
 Thrown when parsing an INI file and it is missing. More...
 
class  ConversionError
 Thrown when conversion call back fails, such as when an int fails to coerce to a string. More...
 
class  ValidationError
 Thrown when validation of results fails. More...
 
class  RequiredError
 Thrown when a required option is missing. More...
 
class  ArgumentMismatch
 Thrown when the wrong number of arguments has been received. More...
 
class  RequiresError
 Thrown when a requires option is missing. More...
 
class  ExcludesError
 Thrown when an excludes option is present. More...
 
class  ExtrasError
 Thrown when too many positionals or options are found. More...
 
class  ConfigError
 Thrown when extra values are found in an INI file. More...
 
class  InvalidError
 Thrown when validation fails before parsing. More...
 
class  HorribleError
 This is just a safety check to verify selection and parsing match - you should not ever see it Strings are directly added to this error, but again, it should never be seen. More...
 
class  OptionNotFound
 Thrown when counting a non-existent option. More...
 

Detailed Description

Errors thrown by CLI11.

These are the errors that can be thrown. Some of them, like CLI::Success, are not really errors.