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 OS X v10.7 and later.

Declared in SKError.h.

Store Kit Errors

Error codes for the Store Kit error domain.

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

Indicates that an unknown or unexpected error occurred.

Available in OS X v10.7 and later.

Declared in SKError.h.

SKErrorClientInvalid

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

Available in OS X v10.7 and later.

Declared in SKError.h.

SKErrorPaymentCancelled

Indicates that the user cancelled a payment request.

Available in OS X v10.7 and later.

Declared in SKError.h.

SKErrorPaymentInvalid

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

Available in OS X v10.7 and later.

Declared in SKError.h.

SKErrorPaymentNotAllowed

Indicates that the user is not allowed to authorize payments.

Available in OS X v10.7 and later.

Declared in SKError.h.