36 super.InitOptionalVariables();
38 m_Header =
"#server_browser_connecting_failed";
43 super.FillErrorDataMap();
@ COMMUNICATION_TIMED_OUT
26 - Connection has timed out.
@ OK
0 - No error. Can be returned from any call.
@ UNKNOWN
24 - Any other error. Can be returned from any call.
@ ALREADY_ON_ANOTHER_SERVER
class ErrorHandlerModule m_Header
This is where to input logic and extend functionality of ErrorHandlerModule.
void ErrorHandlerModuleScript()
Constructor, by default calls the function that will fill the ErrorDataMap.
int m_LastErrorThrown
Holds the last thrown error in this module, defaults to 0.
void InsertDialogueErrorProperties(int code, string message, int dialogButtonType=DBT_OK, int defaultButton=DBB_OK, int dialogMeaningType=DMT_EXCLAMATION, bool displayAdditionalInfo=true)
Insert an error with Dialogue as handling, using the Optional Variables.
void InsertErrorProperties(int code, string message="")
Insert an error with no handling.
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
override void FillErrorDataMap()
override void OnEvent(EventType eventTypeId, Param params)
void ConnectErrorClientModule()
override void InitOptionalVariables()
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
const EventType MPSessionPlayerReadyEventTypeID
no params