| 
    OpenTTD Source 20251104-master-g3befbdd52f
    
   | 
 
A throw-class that is given when the script made a fatal error. More...
#include <script_fatalerror.hpp>
Public Member Functions | |
| Script_FatalError (const std::string &msg) | |
| Creates a "fatal error" exception.   | |
| const std::string & | GetErrorMessage () const | 
| The error message associated with the fatal error.   | |
Private Attributes | |
| const std::string | msg | 
| The error message.   | |
A throw-class that is given when the script made a fatal error.
Definition at line 16 of file script_fatalerror.hpp.
      
  | 
  inline | 
Creates a "fatal error" exception.
| msg | The message describing the cause of the fatal error. | 
Definition at line 22 of file script_fatalerror.hpp.
      
  | 
  inline | 
The error message associated with the fatal error.
Definition at line 30 of file script_fatalerror.hpp.
References msg.
Referenced by ScriptScanner::AddFile(), ScriptInstance::Initialize(), ScriptInstance::LoadOnStack(), and ScriptInstance::Save().
      
  | 
  private | 
The error message.
Definition at line 33 of file script_fatalerror.hpp.
Referenced by GetErrorMessage().