Option++
2.0
C++ library for reading command-line options
|
Exception indicating a type error. More...
#include <error.hpp>
Public Member Functions | |
type_error (const std::string &msg, const std::string &fn_name) | |
Constructor. More... | |
Public Member Functions inherited from optionpp::error | |
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... | |
Exception indicating a type error.
|
inline |
Constructor.
msg | Description of the error. |
fn_name | Name of the function in which error occurred. |