HerdSoftware
0.1.1
|
#include <Exception.h>
Public Member Functions | |
Exception (std::string msg="") | |
const char * | what () const noexcept override |
The error message. More... | |
Private Attributes | |
std::string | _what |
Base class for HerdSoftware exceptions.
This class adds some common utilities to std::exception, like the setting of the return value of what() in the constructor.
Do not throw this class to signal a failure in memory allocation.
|
inline |
Constructor.
msg | the message to be returned by what(). |
|
inlineoverridenoexcept |
The error message.
|
private |