SmartFoxServer 2X C++ API
Sfs2X::Util::SFSErrorCodes Class Reference

Provides a mean of translation between Server error codes and their relative error messages. More...

#include <SFSErrorCodes.h>

Detailed Description

Provides a mean of translation between Server error codes and their relative error messages.

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 be sure to maintain these placeholders while translating the messages.