The Battle for Wesnoth  1.15.1+dev
Public Member Functions | List of all members
wfl::type_error Struct Reference

#include <variant_value.hpp>

Inheritance diagram for wfl::type_error:
Inheritance graph

Public Member Functions

 type_error (const std::string &str)
 
- Public Member Functions inherited from game::error
 error ()
 
 error (const std::string &msg)
 
 ~error () noexcept
 
const char * what () const noexcept
 

Additional Inherited Members

- Public Attributes inherited from game::error
std::string message
 

Detailed Description

Definition at line 52 of file variant_value.hpp.

Constructor & Destructor Documentation

◆ type_error()

wfl::type_error::type_error ( const std::string &  str)
explicit

Definition at line 58 of file variant.cpp.

References wfl::call_stack_manager::get(), and game::error::message.

Referenced by wfl::value_cast(), and wfl::value_ref_cast().


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