SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
SFSErrorCodes.h
1 //
2 // SFSErrorCodes.h
3 // SFS2X
4 //
5 // Original development by Infosfer Game Technologies Ltd. | http://www.infosfer.com.
6 //
7 // Maintained and developed by A51 Integrated.
8 // Copyright 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
9 //
10 
11 /** Provides a means of translation between Server error codes and their relative error messages.
12 
13  Error messages are provided by defualt in the English language but they can be localized and substituted in any other language.
14  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...
15  Please be sure to maintain these placeholders while translating the messages.
16  */
17 @interface SFSErrorCodes : NSObject {
18 
19 }
20 
21 +(void)setErrorMessage:(NSNumber *)code message:(NSString *)message;
22 +(NSString *)getErrorMessage:(NSNumber *)code params:(NSArray *)params;
23 
24 @end
SFSErrorCodes
Definition: SFSErrorCodes.h:17