The Battle for Wesnoth  1.19.5+dev
Public Member Functions | List of all members
quit_game_exception Class Referencefinal

#include <game_end_exceptions.hpp>

Inheritance diagram for quit_game_exception:

Public Member Functions

 quit_game_exception ()
 
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...
 
- 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 53 of file game_end_exceptions.hpp.

Constructor & Destructor Documentation

◆ quit_game_exception()

quit_game_exception::quit_game_exception ( )
inline

Definition at line 59 of file game_end_exceptions.hpp.

References lua_jailbreak_exception::store().

Member Function Documentation

◆ what()

const char* quit_game_exception::what ( ) const
inlinenoexcept

Definition at line 65 of file game_end_exceptions.hpp.


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