QMErrorCode

@objc
public enum QMErrorCode : Int

error codes for the errorId parameter passed to the error callback

  • Declaration

    Swift

    case noError
  • ithe QuickMark server URL is invalid

    Declaration

    Swift

    case invalidUrl
  • cannot connect to the server

    Declaration

    Swift

    case cannotConnect
  • cannot connect find the host (domain name resolution)

    Declaration

    Swift

    case cannotFindHost
  • no Internet connectivity

    Declaration

    Swift

    case noConnectivity
  • error related to the certificate for HTTPS

    Declaration

    Swift

    case certificateError
  • an error prevented to connect to the server

    Declaration

    Swift

    case networkError
  • the server returned the HTTP error 400 - the watermark ID may be invalid

    Declaration

    Swift

    case httpCltBadRequest
  • the server returned the HTTP error 401

    Declaration

    Swift

    case httpCltUnauthorized
  • the server returned the HTTP error 403 - the token or API key may be invalid

    Declaration

    Swift

    case httpCltForbidden
  • the server returned an HTTP error

    Declaration

    Swift

    case httpOtherErrors
  • the server took too much time to answer

    Declaration

    Swift

    case serverTimeout
  • invalid server response (data missing, bad mime type)

    Declaration

    Swift

    case invalidServerResponse
  • an invalid blob was received in pull mode

    Declaration

    Swift

    case pullModeInvalidBlob
  • get string descritpion of the error

    Declaration

    Swift

    public var string: String { get }