|
MochiEngine
|
Generic error that can be thrown inside the MochiEngine. More...
#include <Exception.hpp>
Public Member Functions | |
| EngineError (const std::string &msg, std::source_location loc=std::source_location::current()) | |
Generic error that can be thrown inside the MochiEngine.
This is meant to be extended by specific errors to have better control on try/catch clauses.
Any EngineError thrown in the update method will be considered an unmanaged exception.