54 const char*
what()
const throw() override;
65 enum { max_frames = 32 };
66 mutable void *frames[max_frames];
68 mutable std::string buffer;
Top-level exception class.
Definition exception.h:42
Exception(const std::string &message)
Constructs 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 new...
const char * what() const override
Returns description of exception.
~Exception() noexcept override
Destructs an exception object.
Definition exception.h:48
std::string message
Description of exception.
Definition exception.h:51
std::vector< std::string > get_stack_trace() const
Returns the call stack present when the exception object was created.