Base class for all the errors encountered by the engine. More...
#include <exceptions.hpp>
Public Member Functions | |
error () | |
error (const std::string &msg) | |
~error () noexcept | |
const char * | what () const noexcept |
Public Attributes | |
std::string | message |
Base class for all the errors encountered by the engine.
It provides a field for storing custom messages related to the actual error.
Definition at line 28 of file exceptions.hpp.
|
inline |
Definition at line 32 of file exceptions.hpp.
|
inline |
Definition at line 33 of file exceptions.hpp.
|
inlinenoexcept |
Definition at line 34 of file exceptions.hpp.
|
inlinenoexcept |
Definition at line 36 of file exceptions.hpp.
References message.
std::string game::error::message |
Definition at line 30 of file exceptions.hpp.
Referenced by default_map_generator::create_scenario(), wfl::formula_error::formula_error(), default_map_generator::generate_map(), wfl::type_error::type_error(), and what().