EKErrorCode Enum

Definition

Errors returned by Event Kit.

public enum EKErrorCode
type EKErrorCode = 
Inheritance
EKErrorCode

Fields

AlarmGreaterThanRecurrence 8

The alarm's RelativeOffset is too large for the interval specified by the event's recurrence rule.

AlarmProximityNotSupported 21

Geofenced alarms are not supported.

CalendarDoesNotAllowEvents 22

The calendar does not allow events.

CalendarDoesNotAllowReminders 23

The calendar does not allow reminders.

CalendarHasNoSource 14

The calendar could not be saved because its source was not set.

CalendarIsImmutable 16

The calendar is immutable.

CalendarReadOnly 6

The calendar cannot be modified.

CalendarSourceCannotBeModified 15

The calendar source can not be modified.

DatesInverted 4

The event EndDate cannot occur before the event StartDate

DurationGreaterThanRecurrence 7

The event duration is too large for the interval specified by the event's recurrence rule.

EventNotMutable 0

The event cannot be modified.

EventStoreNotAuthorized 29
InternalFailure 5

An internal error has occurred.

InvalidEntityType 27
InvalidSpan 13

The time span for the event was invalid.

InvitesCannotBeMoved 12

Invites cannot be modified.

NoCalendar 1

The event does not have an associated calendar.

NoEndDate 3

The EndDate property has not been set for the event.

NoStartDate 2

The StartDate property has not been set for the event.

ObjectBelongsToDifferentStore 11

The object is not stored in the same event store.

OSNotSupported 30
PriorityIsInvalid 26
ProcedureAlarmsNotMutable 28
RecurringReminderRequiresDueDate 18

A recurring reminder's due date was missing.

ReminderLocationsNotSupported 20

Locations are not supported for reminders on the source.

SourceDoesNotAllowCalendarAddDelete 17

The source will not allow the developer to add or delete calendars.

SourceDoesNotAllowEvents 25

The source does not allow events.

SourceDoesNotAllowReminders 24

The source does not allow reminders.

StartDateCollidesWithOtherOccurrence 10

The event's StartDate is set to collide with other occurrences of the same event.

StartDateTooFarInFuture 9

The event's StartDate is beyond the end of the calendar.

StructuredLocationsNotSupported 19

The soure does not support structured locations.

Applies to