The Battle for Wesnoth  1.19.0-dev
Public Member Functions | List of all members
game::game_error Struct Reference

Error used for any general game error, e.g. More...

#include <game_errors.hpp>

Inheritance diagram for game::game_error:

Public Member Functions

 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

Error used for any general game error, e.g.

data files are corrupt.

Definition at line 47 of file game_errors.hpp.

Constructor & Destructor Documentation

◆ game_error()

game::game_error::game_error ( const std::string &  msg)
inline

Definition at line 48 of file game_errors.hpp.


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