Enumeration

SKError.Code

Error codes for StoreKit errors.

Declaration

enum SKError.Code : Int, _ErrorCodeProtocol

Topics

Enumeration Cases

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.

See Also

Error Codes

static var unknown: SKError.Code

Error code indicating that an unknown or unexpected error occurred.

static var clientInvalid: SKError.Code

Error code indicating that the client is not allowed to perform the attempted action.

static var paymentCancelled: SKError.Code

Error code indicating that the user canceled a payment request.

static var paymentInvalid: SKError.Code

Error code indicating that one of the payment parameters was not recognized by the App Store.

static var paymentNotAllowed: SKError.Code

Error code indicating that the user is not allowed to authorize payments.

static var storeProductNotAvailable: SKError.Code

Error code indicating that the requested product is not available in the store.

static var cloudServicePermissionDenied: SKError.Code

Error code indicating that the user has not allowed access to Cloud service information.

static var cloudServiceNetworkConnectionFailed: SKError.Code

Error code indicating that the device could not connect to the network.

static var cloudServiceRevoked: SKError.Code

Error code indicating that the user has revoked permission to use this cloud service.

static var privacyAcknowledgementRequired: SKError.Code

Error code indicating that the user has not yet acknowledged Apple’s privacy policy for Apple Music.

static var unauthorizedRequestData: SKError.Code

Error code indicating that the app is attempting to use a property for which it does not have the required entitlement.

static var invalidOfferIdentifier: SKError.Code

Error code indicating that the offer identifier cannot be found or is not active.

static var invalidOfferPrice: SKError.Code

Error code indicating that the price you specified in App Store Connect is no longer valid.

static var invalidSignature: SKError.Code

Error code indicating that the signature in a payment discount is not valid.

static var missingOfferParams: SKError.Code

Error code indicating that parameters are missing in a payment discount.