Scarab  v3.2.1
Project 8 C++ Utility Library
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
FileError Class Reference

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

#include <CLI11.hpp>

Inheritance diagram for FileError:
Inheritance graph

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

Definition at line 748 of file CLI11.hpp.

Constructor & Destructor Documentation

◆ FileError() [1/5]

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

Definition at line 749 of file CLI11.hpp.

◆ FileError() [2/5]

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

Definition at line 749 of file CLI11.hpp.

◆ FileError() [3/5]

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

Definition at line 749 of file CLI11.hpp.

◆ FileError() [4/5]

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

Definition at line 749 of file CLI11.hpp.

◆ FileError() [5/5]

FileError ( std::string  msg)
inlineexplicit

Definition at line 750 of file CLI11.hpp.

Member Function Documentation

◆ Missing()

static FileError Missing ( std::string  name)
inlinestatic

Definition at line 751 of file CLI11.hpp.


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