The Battle for Wesnoth  1.15.0+dev
Public Member Functions | List of all members
unit_type::error Class Reference

#include <types.hpp>

Inheritance diagram for unit_type::error:
Inheritance graph

Public Member Functions

 error (const std::string &msg)
 
- Public Member Functions inherited from game::game_error
 game_error (const std::string &msg)
 
- 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 45 of file types.hpp.

Constructor & Destructor Documentation

◆ error()

unit_type::error::error ( const std::string &  msg)
inline

Definition at line 48 of file types.hpp.

References unit_type::unit_type(), and unit_type::~unit_type().


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