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

#include <variant_value.hpp>

Inheritance diagram for wfl::type_error:

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 41 of file variant_value.hpp.

Constructor & Destructor Documentation

◆ type_error()

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

Definition at line 58 of file variant.cpp.

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

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

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