icrate/generated/UserNotifications/
UNError.rs1use crate::common::*;
4use crate::CoreLocation::*;
5use crate::Foundation::*;
6use crate::UserNotifications::*;
7
8extern_static!(UNErrorDomain: Option<&'static NSString>);
9
10ns_enum!(
11 #[underlying(NSInteger)]
12 pub enum UNErrorCode {
13 UNErrorCodeNotificationsNotAllowed = 1,
14 UNErrorCodeAttachmentInvalidURL = 100,
15 UNErrorCodeAttachmentUnrecognizedType = 101,
16 UNErrorCodeAttachmentInvalidFileSize = 102,
17 UNErrorCodeAttachmentNotInDataStore = 103,
18 UNErrorCodeAttachmentMoveIntoDataStoreFailed = 104,
19 UNErrorCodeAttachmentCorrupt = 105,
20 UNErrorCodeNotificationInvalidNoDate = 1400,
21 UNErrorCodeNotificationInvalidNoContent = 1401,
22 UNErrorCodeContentProvidingObjectNotAllowed = 1500,
23 UNErrorCodeContentProvidingInvalid = 1501,
24 UNErrorCodeBadgeInputInvalid = 1600,
25 }
26);