Enumeration

EKErrorCode

Values that are returned as the error code property of an NSError object.

Declaration

typedef enum EKErrorCode : NSInteger {
    ...
} EKErrorCode;

Topics

Constants

EKErrorEventNotMutable

The event is not mutable and cannot be saved or deleted.

EKErrorNoCalendar

The event is not associated with a calendar.

EKErrorNoStartDate

The event has no start date set.

EKErrorNoEndDate

The event has no end date set.

EKErrorDatesInverted

The event’s end date occurs before its start date.

EKErrorInternalFailure

An internal error occurred.

EKErrorCalendarReadOnly

The calendar is read-only and cannot have events added to it.

EKErrorDurationGreaterThanRecurrence

The duration of an event is greater than its recurrence interval.

EKErrorAlarmGreaterThanRecurrence

The alarm interval is greater than the recurrence interval.

EKErrorStartDateTooFarInFuture

The start date is further into the future than the calendar can display.

EKErrorStartDateCollidesWithOtherOccurrence

The event’s start date collides with another occurrence of the event.

EKErrorObjectBelongsToDifferentStore

The object belongs to a different calendar store.

EKErrorInvitesCannotBeMoved

The event cannot be moved because it is an invite.

EKErrorInvalidSpan

An invalid span was passed when saving or deleting.

EKErrorCalendarHasNoSource

The calendar cannot be saved with no source set.

EKErrorCalendarSourceCannotBeModified

The calendar cannot be moved to another source.

EKErrorCalendarIsImmutable

The calendar is immutable and cannot be modified or deleted.

EKErrorSourceDoesNotAllowCalendarAddDelete

The source doesn’t allow calendars to be added or deleted.

EKErrorRecurringReminderRequiresDueDate

The recurring reminder requires a due date.

EKErrorStructuredLocationsNotSupported

The source to which this calendar belongs does not support structured locations.

EKErrorReminderLocationsNotSupported

The source doesn't support locations on reminders.

EKErrorAlarmProximityNotSupported

The source does not allow geofences on alarms.

EKErrorCalendarDoesNotAllowEvents

The calendar does not allow events to be added.

EKErrorCalendarDoesNotAllowReminders

The calendar does not allow reminders to be added.

EKErrorSourceDoesNotAllowReminders

The source does not allow calendars supporting reminder entity types.

EKErrorSourceDoesNotAllowEvents

The source does not allow calendars supporting event entity types.

See Also

Errors

EKErrorDomain

String that identifies the EventKit error domain.