1#ifndef FIRE_EXCEPTION_EXCEPTION_H
2#define FIRE_EXCEPTION_EXCEPTION_H
70 virtual const char *
what() const noexcept
override {
Standard base exception class with some useful output information.
Definition: Exception.h:18
const std::string & message() const noexcept
Get the message of the exception.
Definition: Exception.h:54
const std::string & trace() const noexcept
Get the stack trace.
Definition: Exception.h:64
Exception() noexcept
Empty constructor.
Definition: Exception.h:25
std::string stack_trace_
the stored stack trace at the throw point (if created)
Definition: Exception.h:80
virtual const char * what() const noexcept override
The error message.
Definition: Exception.h:70
std::string category_
the category of this exception
Definition: Exception.h:76
const std::string & category() const noexcept
get the category of this exception
Definition: Exception.h:48
std::string message_
the error message to print with this exception
Definition: Exception.h:78