Enumeration

SKErrorCode

Error codes for StoreKit errors.

Declaration

typedef enum SKErrorCode : NSInteger {
    ...
} SKErrorCode;

Topics

Enumeration Cases

SKErrorUnknown

Error code indicating that an unknown or unexpected error occurred.

SKErrorClientInvalid

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

SKErrorPaymentCancelled

Error code indicating that the user canceled a payment request.

SKErrorPaymentInvalid

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

SKErrorPaymentNotAllowed

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

SKErrorStoreProductNotAvailable

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

SKErrorCloudServicePermissionDenied

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

SKErrorCloudServiceNetworkConnectionFailed

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

SKErrorCloudServiceRevoked

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

SKErrorPrivacyAcknowledgementRequired

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

SKErrorUnauthorizedRequestData

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

SKErrorInvalidOfferIdentifier

Error code indicating that the offer identifier is invalid.

SKErrorInvalidOfferPrice

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

SKErrorInvalidSignature

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

SKErrorMissingOfferParams

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

See Also

Errors

Handling Errors

Handle errors resulting from StoreKit requests.

SKErrorDomain

The error domain name for StoreKit errors.