56 lua_error(
const std::string&
msg,
const std::string& context) :
error(context +
":\n " + msg) {}
Error used when game loading fails.
Error used when game saving fails.
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
load_game_failed(const std::string &msg)
lua_error(const std::string &msg, const std::string &context)
mp_server_error(const std::string &msg)
Error used for any general game error, e.g.
save_game_failed(const std::string &msg)
lua_error(const std::string &msg)
Base class for all the errors encountered by the engine.
game_error(const std::string &msg)
Error used to report an error in a lua script or in the lua interpreter.