use crate::common::*;
use crate::ClassKit::*;
use crate::Foundation::*;
extern_static!(CLSErrorCodeDomain: Option<&'static NSString>);
ns_error_enum!(
#[underlying(NSInteger)]
pub enum CLSErrorCode {
CLSErrorCodeNone = 0,
CLSErrorCodeClassKitUnavailable = 1,
CLSErrorCodeInvalidArgument = 2,
CLSErrorCodeInvalidModification = 3,
CLSErrorCodeAuthorizationDenied = 4,
CLSErrorCodeDatabaseInaccessible = 5,
CLSErrorCodeLimits = 6,
CLSErrorCodeInvalidCreate = 7,
CLSErrorCodeInvalidUpdate = 8,
CLSErrorCodePartialFailure = 9,
CLSErrorCodeInvalidAccountCredentials = 10,
}
);
typed_extensible_enum!(
pub type CLSErrorUserInfoKey = NSString;
);
extern_static!(CLSErrorObjectKey: Option<&'static CLSErrorUserInfoKey>);
extern_static!(CLSErrorUnderlyingErrorsKey: Option<&'static CLSErrorUserInfoKey>);
extern_static!(CLSErrorSuccessfulObjectsKey: Option<&'static CLSErrorUserInfoKey>);
typed_extensible_enum!(
pub type CLSPredicateKeyPath = NSString;
);
extern_static!(CLSPredicateKeyPathDateCreated: Option<&'static CLSPredicateKeyPath>);
extern_static!(CLSPredicateKeyPathIdentifier: Option<&'static CLSPredicateKeyPath>);
extern_static!(CLSPredicateKeyPathTitle: Option<&'static CLSPredicateKeyPath>);
extern_static!(CLSPredicateKeyPathUniversalLinkURL: Option<&'static CLSPredicateKeyPath>);
extern_static!(CLSPredicateKeyPathTopic: Option<&'static CLSPredicateKeyPath>);
extern_static!(CLSPredicateKeyPathParent: Option<&'static CLSPredicateKeyPath>);