Click or drag to resize

SFSErrorCodes Class

The SFSErrorCodes class provides a mean of translation between server error codes and their relative error messages.
Inheritance Hierarchy
SystemObject
  Sfs2X.UtilSFSErrorCodes

Namespace:  Sfs2X.Util
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static class SFSErrorCodes

The SFSErrorCodes type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleSetErrorMessage
Sets the text of the error message corresponding to the passed error code.
Top
Remarks
Error messages are provided by default in the English language but they can be localized and substituted in any other language. The error messages contain special placeholders that are processed at runtime and substituted with runtime data. They are in the form of a number enclosed in curly brackets such as: {0}, {1}, etc. Please make sure you maintain these placeholders while translating the messages.

For more informations please visit this link: http://docs2x.smartfoxserver.com/AdvancedTopics/client-error-messages.

See Also