QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Base error class. More...
#include <errors.hpp>
Public Member Functions | |
Error (const std::string &file, long line, const std::string &functionName, const std::string &message="") | |
const char * | what () const noexcept override |
returns the error message. More... | |
Private Attributes | |
ext::shared_ptr< std::string > | message_ |
Error | ( | const std::string & | file, |
long | line, | ||
const std::string & | functionName, | ||
const std::string & | message = "" |
||
) |
The explicit use of this constructor is not advised. Use the QL_FAIL macro instead.
Definition at line 93 of file errors.cpp.
|
overridenoexcept |
returns the error message.
Definition at line 100 of file errors.cpp.
|
private |
Definition at line 52 of file errors.hpp.