Store Kit Constants Reference

Framework
StoreKit/SKError.h
Companion guide
Declared in
SKError.h

Overview

This document describes the constants defined in the Store Kit framework and not described in a document for an individual class.

Constants

SKErrorDomain

This constant defines the Store Kit framework error domain.

NSString * const SKErrorDomain;
Constants
SKErrorDomain

Indicates an error occurred in Store Kit.

Available in iOS 3.0 and later.

Declared in SKError.h.

Store Kit Errors

Error codes for the Store Kit error domain.

enum {
   SKErrorUnknown,
   SKErrorClientInvalid,
   SKErrorPaymentCancelled,
   SKErrorPaymentInvalid,
   SKErrorPaymentNotAllowed,
   SKErrorStoreProductNotAvailable
};
Constants
SKErrorUnknown

Indicates that an unknown or unexpected error occurred.

Available in iOS 3.0 and later.

Declared in SKError.h.

SKErrorClientInvalid

Indicates that the client is not allowed to perform the attempted action.

Available in iOS 3.0 and later.

Declared in SKError.h.

SKErrorPaymentCancelled

Indicates that the user cancelled a payment request.

Available in iOS 3.0 and later.

Declared in SKError.h.

SKErrorPaymentInvalid

Indicates that one of the payment parameters was not recognized by the Apple App Store.

Available in iOS 3.0 and later.

Declared in SKError.h.

SKErrorPaymentNotAllowed

Indicates that the user is not allowed to authorize payments.

Available in iOS 3.0 and later.

Declared in SKError.h.

SKErrorStoreProductNotAvailable

Indicates that the requested product is not available in the store.

Available in iOS 6.0 and later.

Declared in SKError.h.