INSErrorCode Constants Reference
Declared in | INSConstants.h |
---|
INSErrorCode
INSErrorCode
enum contains all custom error codes that are used as code
for NSError
in Insiteo SDK.
These codes are used when domain
of NSError
that you receive is set to INSInsiteoErrorDomain
.
Definition
typedef NS_ENUM(NSUInteger, INSErrorCode ) {
kINSErrorInternal = 1,
kINSErrorBadCredentials = 100,
kINSErrorInitialization = 101,
kINSErrorSynchronization = 102,
kINSErrorAuthorization = 103,
kINSErrorInvalidEventName = 104,
kINSErrorInvalidEventData = 105,
kINSErrorInvalidJSON = 200,
kINSErrorServerUnknown = 300,
kINSErrorServerTimeOut = 301,
kINSErrorServerBadGateway = 302,
};
Constants
kINSErrorInternal
-
Internal server error. No information available.
Declared In
INSConstants.h
. kINSErrorBadCredentials
-
Your client API key is invalid.
Declared In
INSConstants.h
. kINSErrorInitialization
-
SDK initialization failed.
Declared In
INSConstants.h
. kINSErrorSynchronization
-
SDK synchronization failed.
Declared In
INSConstants.h
. kINSErrorAuthorization
-
The operation is not allowed for client.
Declared In
INSConstants.h
. kINSErrorInvalidEventName
-
Invalid event name.
Declared In
INSConstants.h
. kINSErrorInvalidEventData
-
Invalid event data format.
Declared In
INSConstants.h
. kINSErrorInvalidJSON
-
Malformed json object. A json dictionary is expected.
Declared In
INSConstants.h
. kINSErrorServerUnknown
-
The request failed for unknown reason.
Declared In
INSConstants.h
. kINSErrorServerTimeOut
-
The request timed out on the server.
Declared In
INSConstants.h
. kINSErrorServerBadGateway
-
The request failed on the server that received an invalid response from an upstream server.
Declared In
INSConstants.h
.
Declared In
INSConstants.h