The Battle for Wesnoth  1.15.6+dev
type_error.hpp
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "game_errors.hpp"
5 #include <string>
6 
8 {
9 public:
11  : game::game_error(msg)
12  {
13  }
14 };
unit_type_error(const std::string &msg)
Definition: type_error.hpp:10
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
Definition: debugger.cpp:109
Error used for any general game error, e.g.
Definition: game_errors.hpp:46
game_error(const std::string &msg)
Definition: game_errors.hpp:47