Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
ErrorHandlerModule Class Reference

Definition and API of an ErrorHandlerModule - Do not insert any logic here! (as this class is not moddable) More...

Protected Member Functions

void OnErrorThrown (int errorCode, owned string additionalInfo="")
 Event that gets triggered when an error of the owned category is thrown.
 
string GetClientMessage (int errorCode, string additionalInfo="")
 Retrieve the message shown on Client.
 
string GetLastClientMessage (int errorCode)
 Retrieve the message shown on Client.
 
string GetServerMessage (int errorCode, string additionalInfo="")
 Retrieve the message shown on Server.
 
string GetLastServerMessage (int errorCode)
 Retrieve the message shown on Server.
 
string GetSimpleMessage (int errorCode, string additionalInfo="")
 Simple message of just code and info.
 
void OnEvent (EventType eventTypeId, Param params)
 Event called by ErrorModuleHandler.
 

Detailed Description

Definition and API of an ErrorHandlerModule - Do not insert any logic here! (as this class is not moddable)

Definition at line 5 of file errorhandlermodule.c.

Member Function Documentation

◆ GetClientMessage()

string ErrorHandlerModule::GetClientMessage ( int errorCode,
string additionalInfo = "" )
protected

Retrieve the message shown on Client.

Definition at line 22 of file errorhandlermodule.c.

◆ GetLastClientMessage()

string ErrorHandlerModule::GetLastClientMessage ( int errorCode)
protected

Retrieve the message shown on Client.

Definition at line 28 of file errorhandlermodule.c.

◆ GetLastServerMessage()

string ErrorHandlerModule::GetLastServerMessage ( int errorCode)
protected

Retrieve the message shown on Server.

Definition at line 40 of file errorhandlermodule.c.

◆ GetServerMessage()

string ErrorHandlerModule::GetServerMessage ( int errorCode,
string additionalInfo = "" )
protected

Retrieve the message shown on Server.

Definition at line 34 of file errorhandlermodule.c.

◆ GetSimpleMessage()

string ErrorHandlerModule::GetSimpleMessage ( int errorCode,
string additionalInfo = "" )
protected

Simple message of just code and info.

Definition at line 46 of file errorhandlermodule.c.

◆ OnErrorThrown()

void ErrorHandlerModule::OnErrorThrown ( int errorCode,
owned string additionalInfo = "" )
protected

Event that gets triggered when an error of the owned category is thrown.

Definition at line 14 of file errorhandlermodule.c.

◆ OnEvent()

void ErrorHandlerModule::OnEvent ( EventType eventTypeId,
Param params )
protected

Event called by ErrorModuleHandler.

Definition at line 52 of file errorhandlermodule.c.


The documentation for this class was generated from the following file: