CalStoreError Class Reference
Inherits from | NSError |
---|---|
Declared in | CalStoreError.h |
Overview
NSError subclass for errors originating in the CalendarStore framework.
CalStoreErrors are in the CalStoreErrorDomain
domain.
+ errorWithCode:userInfo:
Creates a new CalStoreError object that is in the CalStoreErrorDomain
.
+ (instancetype)errorWithCode:(NSInteger)code userInfo:(NSDictionary *)userInfo
Parameters
code |
the code for the error |
---|---|
userInfo |
the userInfo for the error |
Declared In
CalStoreError.h
nonLocalizedMessage
Non localized message for non-userfacing, internal errors only. Returns nil for other errors.
For example, the CalStoreErrorAuthorizationTokenMissing
error is an internal error and
signals a configuration error.
@property (nonatomic, readonly) NSString *nonLocalizedMessage
Declared In
CalStoreError.h