42 const char*
what() const noexcept
override{
51 return "scl::exceptions::Exception";
Global namespace of the SCL.
const char *const _reason
The error message that comes with this Exception.
Exception(T &&reason)
Construct an scl::exceptions::Exception from an error message.
const char *const reason() const override
Retrieve the reason.
const char *const type() const noexcept override
A string describing the name of the exception class.
Base class for all regular exceptions.
const char * what() const noexcept override
Override that uses the user defined reason.
Base class of all throwable objects.