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

Thrown when validation fails before parsing. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::InvalidError:
Collaboration diagram for CLI::InvalidError:

Public Member Functions

 InvalidError (std::string msg, ExitCodes exit_code)
 
 InvalidError (std::string msg, int exit_code)
 
 InvalidError (std::string name)
 
- 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

 InvalidError (std::string ename, std::string msg, int exit_code)
 
 InvalidError (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 validation fails before parsing.

Constructor & Destructor Documentation

◆ InvalidError() [1/5]

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

◆ InvalidError() [2/5]

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

◆ InvalidError() [3/5]

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

◆ InvalidError() [4/5]

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

◆ InvalidError() [5/5]

CLI::InvalidError::InvalidError ( std::string  name)
inlineexplicit

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