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

All errors derive from this one. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::Error:
Collaboration diagram for CLI::Error:

Public Member Functions

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)
 

Detailed Description

All errors derive from this one.

Constructor & Destructor Documentation

◆ Error() [1/2]

CLI::Error::Error ( std::string  name,
std::string  msg,
int  exit_code = static_cast<int>(ExitCodes::BaseClass) 
)
inline

◆ Error() [2/2]

CLI::Error::Error ( std::string  name,
std::string  msg,
ExitCodes  exit_code 
)
inline

Member Function Documentation

◆ get_exit_code()

int CLI::Error::get_exit_code ( ) const
inline
Here is the caller graph for this function:

◆ get_name()

std::string CLI::Error::get_name ( ) const
inline
Here is the caller graph for this function:

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