DIFF

class ErrorPropertiesSource

DialogueErrorProperties ErrorProperties

Class which holds the properties and handling of an error

Constructors 1

void ErrorProperties(string message, string serverMessage)
References m_Message, and m_ServerMessage

Constants 2

const string EP_HEADER_FORMAT_STRING = "%1 (%2)"

Formating for header (%1 = Header; %2 = ErrorCode)

const string EP_MESSAGE_FORMAT_STRING = "%1\n(%2)"

Formating for message (%1 = Message; %2 = AdditionalInfo)

Members 2

protected string m_Message

Message which will appear on Client

protected string m_ServerMessage

Message which will appear on Server

Methods 3

void HandleError(int errorCode, string additionalInfo = "")
string GetClientMessage(string additionalInfo = "")
string GetServerMessage(string additionalInfo = "")