56 {
57#ifdef NO_GUI
58 return;
59#endif
60
61#ifdef SERVER
62 return;
63#else
64 string message;
66 message =
string.
Format(EP_MESSAGE_FORMAT_STRING, m_Message, additionalInfo);
67 else
68 message = m_Message;
69
73#endif
74 }
class ErrorHandlerModule m_Header
This is where to input logic and extend functionality of ErrorHandlerModule.
bool m_DisplayAdditionalInfo
proto native UIManager GetUIManager()
static proto owned string GetErrorHex(int errorCode)
Returns a formatted string of the error code.
The error handler itself, for managing and distributing errors to modules Manages the ErrorHandlerMod...
proto native void ShowDialog(string caption, string text, int id, int butts, int def, int type, UIScriptedMenu handler)
Shows message dialog.
proto native CGame GetGame()
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.