![]() |
AireEngine
A 3D Open-World Game Engine
|
#include <error.h>


Public Member Functions | |
| Error (const char *msg,...) | |
| const char * | what () const noexcept override |
A custom exception class that supports std::printf()-like formatting. Example usage:
throw Error("someFunc() returned %i", returnVal);
Error constructor.
| msg | The error message. Supports std::printf()-like formatting by passing additional parameters. Max length is 1024 characters. |