Fleet  0.0.9
Inference in the LOT
Public Member Functions | List of all members
CLI::Error Class Reference

All errors derive from this one. More...

#include <CL11.hpp>

Inheritance diagram for CLI::Error:
Inheritance graph
[legend]
Collaboration diagram for CLI::Error:
Collaboration graph
[legend]

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

◆ get_name()

std::string CLI::Error::get_name ( ) const
inline

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