PRXErrorCode Constants Reference
| Declared in | PRXErrorCode.h | 
PRXErrorCode
Errors reported from the TapPoint SDK are divided into public and internal errors. Public errors are recoverable errors caused either by a temporary condition in the app’s environment, i.e. no internet condition, or because of invalid data being passed to one of the SDK APIs.
Internal errors are non-recoverable by the application and should be reported to Proxama support.
If an API call to TapPoint results in a non-200 HTTP status code then this will be reported as the error code, as a result error codes between 100 and 599 are reserved.
Definition
typedef NS_ENUM(NSInteger, PRXErrorCode ) {
                            
                               PRXErrorCodeNoInternet = 1,
                            
                               PRXErrorCodeUnknownAppName = 2,
                            
                               PRXErrorCodeUnknownVariant = 3,
                            
                               PRXErrorCodeNotAuthenticated = 4,
                            
                               PRXErrorCodeAlreadyAuthenticated = 5,
                            
                               PRXErrorCodeAuthenticationAlreadyInProgress = 6,
                            
                               PRXErrorCodeStorageCreationError = 7,
                            
                               PRXErrorCodeStorageConnectionError = 8,
                            
                               PRXErrorCodeStorageWriteError = 9,
                            
                               PRXErrorCodeStorageReadError = 10,
                            
                               PRXErrorCodeInvalidServerResponse = 11,
                            
                               PRXErrorCodeSynchronizationAlreadyInProgress = 12,
                            
                               PRXErrorCodeNetworkTimeout = 13,
                            
                            };
                    
                    Constants
PRXErrorCodeNoInternet- 
An API call failed because of no internet connection.
Declared In
PRXErrorCode.h. PRXErrorCodeUnknownAppName- 
An application name passed into an API is unrecognised by TapPoint.
Declared In
PRXErrorCode.h. PRXErrorCodeUnknownVariant- 
An attempt has been made to use the SDK on a platform not configured on TapPoint.
Declared In
PRXErrorCode.h. PRXErrorCodeNotAuthenticated- 
A call to an API has been made without the application being authenticated.
Declared In
PRXErrorCode.h. PRXErrorCodeAlreadyAuthenticated- 
An attempt to authenticate using a different app name has been made when the application was already authenticated with a previous app name.
Declared In
PRXErrorCode.h. PRXErrorCodeAuthenticationAlreadyInProgress- 
An attempt to authenticate has been made while a previous attempt is still in progress.
Declared In
PRXErrorCode.h. PRXErrorCodeStorageCreationError- 
An attempt to create storage internally within the SDK has failed. Internal error.
Declared In
PRXErrorCode.h. PRXErrorCodeStorageConnectionError- 
An attempt to connect to storage internally within the SDK has failed. Internal error.
Declared In
PRXErrorCode.h. PRXErrorCodeStorageWriteError- 
An attempt to write to storage internally within the SDK has failed. Internal error.
Declared In
PRXErrorCode.h. PRXErrorCodeStorageReadError- 
An attempt to read from storage internally within the SDK has failed. Internal error.
Declared In
PRXErrorCode.h. PRXErrorCodeInvalidServerResponse- 
The server has returned an invalid response to a request made by the SDK. Internal error.
Declared In
PRXErrorCode.h. PRXErrorCodeSynchronizationAlreadyInProgress- 
An attempt to synchronise has been made while a previous attempt is still in progress.
Declared In
PRXErrorCode.h. PRXErrorCodeNetworkTimeout- 
A network request timed out before a response was received.
Declared In
PRXErrorCode.h. 
Declared In
PRXErrorCode.h