The Battle for Wesnoth  1.19.5+dev
Public Member Functions | List of all members
gui2::iteration::range_error Class Referencefinal

Thrown when moving an invalid iterator. More...

#include <exception.hpp>

Inheritance diagram for gui2::iteration::range_error:

Public Member Functions

 range_error (const std::string &message)
 
- 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

Thrown when moving an invalid iterator.

Invalid means the initial state at_end() == true.

Definition at line 55 of file exception.hpp.

Constructor & Destructor Documentation

◆ range_error()

gui2::iteration::range_error::range_error ( const std::string &  message)
inlineexplicit

Definition at line 58 of file exception.hpp.

References lua_jailbreak_exception::store().


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