DayZ 1.24
|
Class which holds the properties and handling of an error. More...
Protected Member Functions | |
void | ErrorProperties (string message, string serverMessage) |
void | HandleError (int errorCode, string additionalInfo="") |
string | GetClientMessage (string additionalInfo="") |
string | GetServerMessage (string additionalInfo="") |
Protected Attributes | |
string | m_Message |
Message which will appear on Client. | |
string | m_ServerMessage |
Message which will appear on Server. | |
Private Attributes | |
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) | |
Class which holds the properties and handling of an error.
Definition at line 2 of file ErrorProperties.c.
Definition at line 10 of file ErrorProperties.c.
References m_Message, and m_ServerMessage.
Definition at line 18 of file ErrorProperties.c.
References EP_MESSAGE_FORMAT_STRING, string::Format(), and m_Message.
Definition at line 26 of file ErrorProperties.c.
References EP_MESSAGE_FORMAT_STRING, string::Format(), and m_ServerMessage.
Definition at line 16 of file ErrorProperties.c.
Formating for header (%1 = Header; %2 = ErrorCode)
Definition at line 4 of file ErrorProperties.c.
Formating for message (%1 = Message; %2 = AdditionalInfo)
Definition at line 5 of file ErrorProperties.c.
Referenced by GetClientMessage(), and GetServerMessage().
|
protected |
Message which will appear on Client.
Definition at line 7 of file ErrorProperties.c.
Referenced by ErrorProperties(), GetClientMessage(), GetHeader(), and HandleError().
|
protected |
Message which will appear on Server.
Definition at line 8 of file ErrorProperties.c.
Referenced by ErrorProperties(), and GetServerMessage().