|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Base error class. More...
#include <errors.hpp>
Inheritance diagram for Error:
Collaboration diagram for Error: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.
Here is the caller graph for this function:
|
private |
Definition at line 52 of file errors.hpp.