UnbluClientErrorType

public enum UnbluClientErrorType : String

Errors which can occur during interaction with the UnbluClient.

  • General internal error of the UnbluClient

    Declaration

    Swift

    case internalError = "INTERNAL"
  • Error thrown if the unblu server could not be reached

    Declaration

    Swift

    case serverUnreachable = "SERVER_UNREACHABLE"
  • Error given if the mobile sdk module is disabled in the server configuration

    Declaration

    Swift

    case disabled = "DISABLED"
  • Internal error which prevents the mobile SDK to communicate with the unblu server

    Declaration

    Swift

    case unknownFunction = "UNKNOWN_FUNCTION"
  • Internal error which prevents the mobile SDK to communicate with the unblu server

    Declaration

    Swift

    case invalidFunctionArgs = "INVALID_FUNCTION_ARGS"
  • Occurs if the api key is missing in the context of the communicate with the unblu server

    Declaration

    Swift

    case missingApiKey = "MISSING_API_KEY"
  • Occurs if the mobile SDK version is not compatible with the version of the unblu server

    Declaration

    Swift

    case unsupportedVersion = "UNSUPPORTED_VERSION"
  • If the url which is used to connect to the unblu server is invalid

    Declaration

    Swift

    case invalidUrl = "INVALID_URL"
  • Thrown if there is an authentication issue while communicating with the unblu server

    Declaration

    Swift

    case authentication
  • Thrown if there is an authorization issue while communicating with the unblu server

    Declaration

    Swift

    case authorization
  • Thrown if there was a business error during execution

    Declaration

    Swift

    case execution = "EXECUTION"