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

Thrown when parsing an INI file and it is missing. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::FileError:
Collaboration diagram for CLI::FileError:

Public Member Functions

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

Protected Member Functions

 FileError (std::string ename, std::string msg, int exit_code)
 
 FileError (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 parsing an INI file and it is missing.

Constructor & Destructor Documentation

◆ FileError() [1/5]

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

◆ FileError() [2/5]

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

◆ FileError() [3/5]

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

◆ FileError() [4/5]

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

◆ FileError() [5/5]

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

Member Function Documentation

◆ Missing()

static FileError CLI::FileError::Missing ( std::string  name)
inlinestatic

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