#include <genesis/utils/core/exception.hpp>
Inherits exception.
Inherited by IOError.
Base class for genesis exceptions.
This class serves as the base from which all exceptions that are thrown from genesis shall be derived. We are far from having done this yet (unfortunately, we had this idea too late...), so for now, there are only a few exceptions that use this class as their base. But in the long term, we want to change that, so that developers using genesis can easily catch all genesis-related exceptions.
Definition at line 53 of file exception.hpp.
Public Member Functions | |
Exception (std::string const &message) | |
char const * | what () const noexcept override |
Protected Attributes | |
std::string | message_ |
|
inline |
Definition at line 58 of file exception.hpp.
|
inlineoverridenoexcept |
Definition at line 62 of file exception.hpp.
|
protected |
Definition at line 68 of file exception.hpp.