Mac OS X Reference Library Apple Developer Connection spyglass button

Calendar Store Constants Reference

Framework
CalendarStore/CalendarStore.h
Declared in
CalendarStoreErrors.h

Overview

Constants

Calendar Store Error Domain

The domain for errors created by the Calendar Store framework.

extern NSString *const CalCalendarStoreErrorDomain;
Constants
CalCalendarStoreErrorDomain

The Calendar Store error domain.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h.

Declared In
CalendarStore/CalendarStoreErrors.h

Calendar Store Errors

The Calendar Store errors that might occur when modifying and saving objects.

enum {
   CalCalendarNotEditableError = 1025,
   CalDateInvalidError = 1026,
   CalCalendarNotInRepository = 1027,
   CalCalendarTitleNotUniqueError = 1028
};
Constants
CalCalendarNotEditableError

Attempted to add events or tasks to a read-only calendar.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h.

CalDateInvalidError

Attempted to set the start date of an event earlier than its end date.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h.

CalCalendarNotInRepository

Attempted to set an event or task’s calendar object to a nonlocal calendar—a calendar that is not in the user’s iCal database.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h.

CalCalendarTitleNotUniqueError

Attempted to save a calendar object that doesn’t have a unique title. All calendar titles must be unique.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h.

Declared In
CalendarStore/CalendarStoreErrors.h


Last updated: 2007-07-08

Did this document help you? Yes It's good, but... Not helpful...