icrate/generated/StoreKit/
SKError.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use crate::common::*;
4use crate::AppKit::*;
5use crate::Foundation::*;
6use crate::StoreKit::*;
7
8extern_static!(SKErrorDomain: &'static NSString);
9
10ns_enum!(
11    #[underlying(NSInteger)]
12    pub enum SKErrorCode {
13        SKErrorUnknown = 0,
14        SKErrorClientInvalid = 1,
15        SKErrorPaymentCancelled = 2,
16        SKErrorPaymentInvalid = 3,
17        SKErrorPaymentNotAllowed = 4,
18        SKErrorStoreProductNotAvailable = 5,
19        SKErrorCloudServicePermissionDenied = 6,
20        SKErrorCloudServiceNetworkConnectionFailed = 7,
21        SKErrorCloudServiceRevoked = 8,
22        SKErrorPrivacyAcknowledgementRequired = 9,
23        SKErrorUnauthorizedRequestData = 10,
24        SKErrorInvalidOfferIdentifier = 11,
25        SKErrorInvalidSignature = 12,
26        SKErrorMissingOfferParams = 13,
27        SKErrorInvalidOfferPrice = 14,
28        SKErrorOverlayCancelled = 15,
29        SKErrorOverlayInvalidConfiguration = 16,
30        SKErrorOverlayTimeout = 17,
31        SKErrorIneligibleForOffer = 18,
32        SKErrorUnsupportedPlatform = 19,
33        SKErrorOverlayPresentedInBackgroundScene = 20,
34    }
35);