OpenTTD
|
A throw-class that is given when the script made a fatal error. More...
#include <script_fatalerror.hpp>
Public Member Functions | |
Script_FatalError (const char *msg) | |
Creates a "fatal error" exception. | |
const char * | GetErrorMessage () |
The error message associated with the fatal error. |
Private Attributes | |
const char * | msg |
The error message. |
A throw-class that is given when the script made a fatal error.
Definition at line 18 of file script_fatalerror.hpp.
|
inline |
Creates a "fatal error" exception.
msg | The message describing the cause of the fatal error. |
Definition at line 24 of file script_fatalerror.hpp.
|
inline |
The error message associated with the fatal error.
Definition at line 32 of file script_fatalerror.hpp.
References msg.
Referenced by ScriptInstance::GameLoop(), ScriptInstance::Initialize(), and ScriptInstance::Save().