Ditto  5.1.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CLI::OptionAlreadyAdded Class Reference

Thrown when an option already exists. More...

Inheritance diagram for CLI::OptionAlreadyAdded:
Inheritance graph
[legend]
Collaboration diagram for CLI::OptionAlreadyAdded:
Collaboration graph
[legend]

Public Member Functions

 OptionAlreadyAdded (std::string msg, ExitCodes exit_code)
 
 OptionAlreadyAdded (std::string msg, int exit_code)
 
 OptionAlreadyAdded (std::string name)
 
- Public Member Functions inherited from CLI::ConstructionError
 ConstructionError (std::string msg, ExitCodes exit_code)
 
 ConstructionError (std::string msg, int exit_code)
 
- Public Member Functions inherited from CLI::Error
int get_exit_code () const
 
std::string get_name () const
 
 Error (std::string name, std::string msg, int exit_code=static_cast< int >(ExitCodes::BaseClass))
 
 Error (std::string name, std::string msg, ExitCodes exit_code)
 

Static Public Member Functions

static OptionAlreadyAdded Requires (std::string name, std::string other)
 
static OptionAlreadyAdded Excludes (std::string name, std::string other)
 

Protected Member Functions

 OptionAlreadyAdded (std::string ename, std::string msg, int exit_code)
 
 OptionAlreadyAdded (std::string ename, std::string msg, ExitCodes exit_code)
 
- Protected Member Functions inherited from CLI::ConstructionError
 ConstructionError (std::string ename, std::string msg, int exit_code)
 
 ConstructionError (std::string ename, std::string msg, ExitCodes exit_code)
 

Detailed Description

Thrown when an option already exists.