ARTICLE AD BOX
(Assuming that what you are getting is indeed codes for SKErrors...)
SKError.Code is just an enum declared in SKError.h. It looks something like this:
typedef NS_ENUM(NSInteger,SKErrorCode) { SKErrorUnknown, SKErrorClientInvalid, SKErrorPaymentCancelled, SKErrorPaymentInvalid, SKErrorPaymentNotAllowed, SKErrorStoreProductNotAvailable, SKErrorCloudServicePermissionDenied, SKErrorCloudServiceNetworkConnectionFailed, SKErrorCloudServiceRevoked, SKErrorPrivacyAcknowledgementRequired, SKErrorUnauthorizedRequestData, SKErrorInvalidOfferIdentifier, SKErrorInvalidSignature, SKErrorMissingOfferParams, SKErrorInvalidOfferPrice, SKErrorOverlayCancelled, SKErrorOverlayInvalidConfiguration, SKErrorOverlayTimeout, SKErrorIneligibleForOffer, SKErrorUnsupportedPlatform, SKErrorOverlayPresentedInBackgroundScene }Therefore, the raw values for each enum constant is just their order in the list, with SKErrorUnknown being 0, and SKErrorOverlayPresentedInBackgroundScene being 20. This also matches the order in which they appear in the documentation page.
