The Battle for Wesnoth  1.15.2+dev
Public Member Functions | List of all members
ingame_wesnothd_error Struct Reference

We received invalid data from wesnothd during a game This means we cannot continue with the game but we can stay connected to wesnothd and start a new game TODO: find a short name. More...

#include <wesnothd_connection_error.hpp>

Inheritance diagram for ingame_wesnothd_error:
Inheritance graph

Public Member Functions

 ingame_wesnothd_error (const std::string &error)
 
- Public Member Functions inherited from wesnothd_error
 wesnothd_error (const std::string &error)
 
- Public Member Functions inherited from game::error
 error ()
 
 error (const std::string &msg)
 
 ~error () noexcept
 
const char * what () const noexcept
 
- Public Member Functions inherited from lua_jailbreak_exception
virtual ~lua_jailbreak_exception () noexcept
 
void store () const noexcept
 Stores a copy the current exception to be rethrown. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from lua_jailbreak_exception
static void rethrow ()
 Rethrows the stored exception. More...
 
- Public Attributes inherited from game::error
std::string message
 
- Static Protected Attributes inherited from lua_jailbreak_exception
static lua_jailbreak_exceptionjailbreak_exception = nullptr
 The exception to be rethrown. More...
 

Detailed Description

We received invalid data from wesnothd during a game This means we cannot continue with the game but we can stay connected to wesnothd and start a new game TODO: find a short name.

Definition at line 38 of file wesnothd_connection_error.hpp.

Constructor & Destructor Documentation

◆ ingame_wesnothd_error()

ingame_wesnothd_error::ingame_wesnothd_error ( const std::string &  error)
inline

Definition at line 40 of file wesnothd_connection_error.hpp.

References IMPLEMENT_LUA_JAILBREAK_EXCEPTION.


The documentation for this struct was generated from the following file: