The Battle for Wesnoth  1.19.7+dev
Public Member Functions | List of all members
leavegame_wesnothd_error Struct Referencefinal

#include <wesnothd_connection_error.hpp>

Inheritance diagram for leavegame_wesnothd_error:

Public Member Functions

 leavegame_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 Public Attributes inherited from lua_jailbreak_exception
static int jail_depth = 0
 Depth of recursive luaW_pcall_internal() function calls. More...
 
- Static Protected Attributes inherited from lua_jailbreak_exception
static lua_jailbreak_exceptionjailbreak_exception = nullptr
 The exception to be rethrown. More...
 

Detailed Description

Definition at line 60 of file wesnothd_connection_error.hpp.

Constructor & Destructor Documentation

◆ leavegame_wesnothd_error()

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

Definition at line 62 of file wesnothd_connection_error.hpp.

References lua_jailbreak_exception::store().


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