Data provided to Lua for error reporting by the main menu. More...
#include <gameparams.h>
Public Member Functions | |
| GameErrorData ()=default | |
| void | setError (const std::string &msg, bool reconnect=false) |
| Raise and log an error. | |
Public Attributes | |
| bool | reconnect_requested = false |
| std::string | message |
Data provided to Lua for error reporting by the main menu.
|
default |
|
inline |
Raise and log an error.
| msg | Empty string means no error |
References errorstream, message, and reconnect_requested.
Referenced by ClientLauncher::launch_game().
| std::string GameErrorData::message |
Referenced by ClientLauncher::launch_game(), ClientLauncher::run(), setError(), ScriptApiMainMenu::setMainMenuData(), and the_game().
| bool GameErrorData::reconnect_requested = false |
Referenced by ClientLauncher::run(), setError(), and ScriptApiMainMenu::setMainMenuData().