|
Mjolnir Core
Core functionality of the Mjolnir API
|
Contains the definitions of various exception types and some macros for simple usage. More...
#include <cstring>#include <stdexcept>

Go to the source code of this file.
Classes | |
| class | AllocationError |
| Exception class for failed memory allocations. More... | |
| class | Exception |
| Base exception class that stores origin and message of an exception. More... | |
| class | RuntimeError |
| Exception class for errors that do not fit into any other category. More... | |
| class | ValueError |
| Exception class that should be throwm if an invalid value is detected. More... | |
Macros | |
| #define | THROW_EXCEPTION(exception_type, message) throw exception_type(FUNCTION_SIG, message) |
| Throw an exception and automatically add the function that caused it. More... | |
| #define | THROW_EXCEPTION_IF(condition, exception_type, message) |
| Throw an exception if the passed condition is met. More... | |
Contains the definitions of various exception types and some macros for simple usage.