OutOfBandOperationErrorType

@objc
public enum OutOfBandOperationErrorType : Int

The possible error types can occur during NMAOutOfBandOperation.

  • The token was already redeemed. This can occur for instance when a user scans twice the same QR code containing a token (a token can only be used once).

    Declaration

    Swift

    case TokenAlreadyRedeemed
  • The token has expired. This occurs for example when it took to long to the user to scan a QR code or to open a push notification.

    Declaration

    Swift

    case TokenExpired
  • A network error occurred while redeeming the token: either the server was not reachable or it returned an HTTP error.

    Declaration

    Swift

    case NetworkError
  • Unknown error, handling not categorized error cases.

    Requires

    iOS platform

    Declaration

    Swift

    case Unknown