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

Thrown when extra values are found in an INI file. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::ConfigError:
Collaboration diagram for CLI::ConfigError:

Public Member Functions

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

Static Public Member Functions

static ConfigError Extras (std::string item)
 
static ConfigError NotConfigurable (std::string item)
 

Protected Member Functions

 ConfigError (std::string ename, std::string msg, int exit_code)
 
 ConfigError (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 extra values are found in an INI file.

Constructor & Destructor Documentation

◆ ConfigError() [1/5]

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

◆ ConfigError() [2/5]

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

◆ ConfigError() [3/5]

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

◆ ConfigError() [4/5]

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

◆ ConfigError() [5/5]

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

Member Function Documentation

◆ Extras()

static ConfigError CLI::ConfigError::Extras ( std::string  item)
inlinestatic

◆ NotConfigurable()

static ConfigError CLI::ConfigError::NotConfigurable ( std::string  item)
inlinestatic

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