Option++
2.0
C++ library for reading command-line options
|
Base class for library exceptions. More...
#include <error.hpp>
Public Member Functions | |
error (const std::string &msg, const std::string &fn_name) | |
Constructor. More... | |
const std::string & | function () const |
Return the name of function that threw the exception. More... | |
Base class for library exceptions.
|
inline |
Constructor.
msg | Description of the error. |
fn_name | Name of the function in which error occurred. |
|
inline |
Return the name of function that threw the exception.