sisi4s
Loading...
Searching...
No Matches
CLI::RequiresError Class Reference

Thrown when a requires option is missing. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::RequiresError:
Collaboration diagram for CLI::RequiresError:

Public Member Functions

 RequiresError (std::string msg, ExitCodes exit_code)
 
 RequiresError (std::string msg, int exit_code)
 
 RequiresError (std::string curname, std::string subname)
 
- Public Member Functions inherited from CLI::ParseError
 ParseError (std::string msg, ExitCodes exit_code)
 
 ParseError (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)
 

Protected Member Functions

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

Detailed Description

Thrown when a requires option is missing.

Constructor & Destructor Documentation

◆ RequiresError() [1/5]

CLI::RequiresError::RequiresError ( std::string  ename,
std::string  msg,
int  exit_code 
)
inlineprotected

◆ RequiresError() [2/5]

CLI::RequiresError::RequiresError ( std::string  ename,
std::string  msg,
ExitCodes  exit_code 
)
inlineprotected

◆ RequiresError() [3/5]

CLI::RequiresError::RequiresError ( std::string  msg,
ExitCodes  exit_code 
)
inline

◆ RequiresError() [4/5]

CLI::RequiresError::RequiresError ( std::string  msg,
int  exit_code 
)
inline

◆ RequiresError() [5/5]

CLI::RequiresError::RequiresError ( std::string  curname,
std::string  subname 
)
inline

The documentation for this class was generated from the following file: