UserServiceErrorCode
@objc public enum UserServiceErrorCode: Int
Error codes for UserServiceError.
-
Manifest library dependency is not yet initialized or the current manifest is null.
Declaration
Swift
case MANIFEST_ERROR = 3000
-
Failed to initialize the user service data model, check to make sure the ‘userService’ node is present in the manifest.
Declaration
Swift
case INITIALIZE_DATA_MODEL
-
Failed to initialize the user service data model, check to make sure the ‘userService.bankConfig node is valid.
Declaration
Swift
case INITIALIZE_DATA_MODEL_BANK
-
Failed to initialize the user service data model, check to make sure the ‘userService.storgaeConfig node is valid.
Declaration
Swift
case INITIALIZE_DATA_MODEL_STORAGE
-
Failed to initialize the user service data model, check to make sure the ‘userService.fetchConfig node is valid.
Declaration
Swift
case INITIALIZE_DATA_MODEL_FETCH
-
There was an error attempting to initialize the new user data.
Declaration
Swift
case INITIALIZE_NEW_USER_FAILED
-
A user must be logged in before there data can be initialized.
Declaration
Swift
case INITIALIZE_NEW_USER_FAILED_NO_USERID
-
Unable to save the users profile to the server.
Declaration
Swift
case SAVE_USER_PROFILE_FAILED
-
Unable to save the user profile because it contains an unsupported type.
Declaration
Swift
case UNSUPPORTED_TYPE
-
The fetch id is null or empty.
Declaration
Swift
case INVALID_FETCH_ID
-
The fetch queue is null or empty.
Declaration
Swift
case FETCH_QUEUE_INVALID
-
The fetch id was not found in the manifest.
Declaration
Swift
case FETCH_ID_NOT_IN_MANIFEST
-
The user id is null or empty.
Declaration
Swift
case INVALID_USER_ID
-
Failed to add user because the profile or userid is null.
Declaration
Swift
case ADD_INVALID_USER
-
Failed to add user because a user with the id alread exists. Either remove the old user of set the force overwrite flag when adding.
Declaration
Swift
case ADD_USER_ALREADY_EXISTS
-
The maximum number of concurrent user fetch operations.
Declaration
Swift
case MAX_USER_FETCH_COUNT
-
User profile not found.
Declaration
Swift
case USER_PROFILE_NOT_FOUND
-
Invalid inventory type.
Declaration
Swift
case INVALID_TYPE_ID
-
The server encountered an error while attempting to load a user.
Declaration
Swift
case PROFILE_LOAD_SERVER_ERROR
-
The client received an invalid server response while attempting to load a user.
Declaration
Swift
case PROFILE_LOAD_INVALID_SERVER_RESPONSE
-
The server encountered an error while attempting to save a user.
Declaration
Swift
case PROFILE_SAVE_SERVER_ERROR
-
The client received an invalid server response while attempting to save a user.
Declaration
Swift
case PROFILE_SAVE_INVALID_SERVER_RESPONSE
-
A textual description of the enum case.
Declaration
Swift
public var description: String
UserServiceErrorCode Enumeration Reference