See SKError.Code
documentation, found in the SKError
documentation. In Xcode you can also press shift+command+o (the letter “oh”) and type SKError
and jump right to the definition.
These are the values at this point:
case unknown
Error code indicating that an unknown or unexpected error occurred.
case clientInvalid
Error code indicating that the client is not allowed to perform the attempted action.
case paymentCancelled
Error code indicating that the user canceled a payment request.
case paymentInvalid
Error code indicating that one of the payment parameters was not recognized by the App Store.
case paymentNotAllowed
Error code indicating that the user is not allowed to authorize payments.
case storeProductNotAvailable
Error code indicating that the requested product is not available in the store.
case cloudServicePermissionDenied
Error code indicating that the user has not allowed access to Cloud service information.
case cloudServiceNetworkConnectionFailed
Error code indicating that the device could not connect to the network.
case cloudServiceRevoked
Error code indicating that the user has revoked permission to use this cloud service.
case privacyAcknowledgementRequired
Error code indicating that the user has not yet acknowledged Apple’s privacy policy for Apple Music.
case unauthorizedRequestData
Error code indicating that the app is attempting to use a property for which it does not have the required entitlement.
case invalidOfferIdentifier
Error code indicating that the offer identifier is invalid.
case invalidOfferPrice
Error code indicating that the price you specified in App Store Connect is no longer valid.
case invalidSignature
Error code indicating that the signature in a payment discount is not valid.
case missingOfferParams
Error code indicating that parameters are missing in a payment discount.