SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
SFSErrorCodes Class Reference

#import <SFSErrorCodes.h>

Inherits NSObject.

Class Methods

(void) + setErrorMessage:message:
 
(NSString *) + getErrorMessage:params:
 

Detailed Description

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

Error messages are provided by defualt 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.