The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Public Attributes | List of all members
wfl::formula_error Struct Reference

#include <formula.hpp>

Inheritance diagram for wfl::formula_error:
Inheritance graph

Public Member Functions

 formula_error ()
 
 formula_error (const std::string &type, const std::string &formula, const std::string &file, int line)
 
 ~formula_error () noexcept
 
- Public Member Functions inherited from game::error
 error ()
 
 error (const std::string &msg)
 
 ~error () noexcept
 
const char * what () const noexcept
 

Public Attributes

std::string type
 
std::string formula
 
std::string filename
 
int line
 
- Public Attributes inherited from game::error
std::string message
 

Detailed Description

Definition at line 90 of file formula.hpp.

Constructor & Destructor Documentation

◆ formula_error() [1/2]

wfl::formula_error::formula_error ( )
inline

◆ formula_error() [2/2]

wfl::formula_error::formula_error ( const std::string &  type,
const std::string &  formula,
const std::string &  file,
int  line 
)

Definition at line 279 of file formula.cpp.

References filename, game::error::message, and type.

◆ ~formula_error()

wfl::formula_error::~formula_error ( )
inlinenoexcept

Definition at line 103 of file formula.hpp.

Member Data Documentation

◆ filename

std::string wfl::formula_error::filename

◆ formula

std::string wfl::formula_error::formula

◆ line

int wfl::formula_error::line

◆ type

std::string wfl::formula_error::type

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