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

Thrown when validation of results fails. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::ValidationError:
Collaboration diagram for CLI::ValidationError:

Public Member Functions

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

 ValidationError (std::string ename, std::string msg, int exit_code)
 
 ValidationError (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 of results fails.

Constructor & Destructor Documentation

◆ ValidationError() [1/6]

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

◆ ValidationError() [2/6]

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

◆ ValidationError() [3/6]

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

◆ ValidationError() [4/6]

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

◆ ValidationError() [5/6]

CLI::ValidationError::ValidationError ( std::string  msg)
inlineexplicit

◆ ValidationError() [6/6]

CLI::ValidationError::ValidationError ( std::string  name,
std::string  msg 
)
inlineexplicit

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