DIFF

class ErrorHandlerModuleSource

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

Methods 9

proto native ErrorCategory GetCategory()

Returns the category the module handles.

protected 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