All errors derive from this one.
More...
#include <CLI11.h>
|
CLI11_NODISCARD int | get_exit_code () const |
|
CLI11_NODISCARD 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) |
|
All errors derive from this one.
Definition at line 691 of file CLI11.h.
◆ Error() [1/2]
Error |
( |
std::string |
name, |
|
|
std::string |
msg, |
|
|
int |
exit_code = static_cast<int>(ExitCodes::BaseClass) |
|
) |
| |
|
inline |
◆ Error() [2/2]
Error |
( |
std::string |
name, |
|
|
std::string |
msg, |
|
|
ExitCodes |
exit_code |
|
) |
| |
|
inline |
◆ get_exit_code()
CLI11_NODISCARD int get_exit_code |
( |
| ) |
const |
|
inline |
◆ get_name()
CLI11_NODISCARD std::string get_name |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: