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
  • 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 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
  • 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 server encountered an error while attempting to save a user.

    Declaration

    Swift

    case PROFILE_SAVE_SERVER_ERROR
  • A textual description of the enum case.

    Declaration

    Swift

    public var description: String