Menoh
Public Member Functions | List of all members
menoh::error Class Reference

The error class thrown when any error occured. More...

#include <menoh.hpp>

Inherits runtime_error.

Public Member Functions

 error (menoh_error_code ec, std::string const &message)
 
 error (error_code_t ec, std::string const &message)
 
error_code_t error_code () const noexcept
 

Detailed Description

The error class thrown when any error occured.

Note
Users can get error message by calling what() member function.

Constructor & Destructor Documentation

◆ error() [1/2]

menoh::error::error ( menoh_error_code  ec,
std::string const &  message 
)
inlineexplicit

◆ error() [2/2]

menoh::error::error ( error_code_t  ec,
std::string const &  message 
)
inlineexplicit

Member Function Documentation

◆ error_code()

error_code_t menoh::error::error_code ( ) const
inlinenoexcept

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