The Battle for Wesnoth  1.19.5+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 38 of file variant_value.hpp.

Constructor & Destructor Documentation

◆ type_error()

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

Definition at line 55 of file variant.cpp.

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


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