Top-level exception class. More...
#include <exception.h>
 Inheritance diagram for clan::Exception:
 Inheritance diagram for clan::Exception:| Public Member Functions | |
| Exception (const std::string &message) | |
| Constructs an exception object. | |
| virtual | ~Exception () noexcept | 
| Destructs an exception object. | |
| std::string | get_message_and_stack_trace () const | 
| Returns the message and call stack present when the exception object was created, formatted using newlines. | |
| std::vector< std::string > | get_stack_trace () const | 
| Returns the call stack present when the exception object was created. | |
| virtual const char * | what () const override throw () | 
| Returns description of exception. | |
| Public Attributes | |
| std::string | message | 
| Description of exception. | |
Top-level exception class.
| clan::Exception::Exception | ( | const std::string & | message | ) | 
Constructs an exception object.
| 
 | inlinevirtualnoexcept | 
Destructs an exception object.
| std::string clan::Exception::get_message_and_stack_trace | ( | ) | const | 
Returns the message and call stack present when the exception object was created, formatted using newlines.
On Linux, to obtain function names, remember to link with the -rdynamic flag
| std::vector< std::string > clan::Exception::get_stack_trace | ( | ) | const | 
Returns the call stack present when the exception object was created.
On Linux, to obtain function names, remember to link with the -rdynamic flag
| 
 | overridevirtual | ||||||||||||
Returns description of exception.
| std::string clan::Exception::message | 
Description of exception.