---
title: invalidSpan
framework: EventKit
role: symbol
role_heading: Type Property
path: eventkit/ekerror/invalidspan
---

# invalidSpan

The system encountered an invalid span during a save or deletion.

## Declaration

```swift
static var invalidSpan: EKError.Code { get }
```

## See Also

### Error Codes

- [eventNotMutable](eventkit/ekerror/eventnotmutable.md)
- [noCalendar](eventkit/ekerror/nocalendar.md)
- [noEndDate](eventkit/ekerror/noenddate.md)
- [noStartDate](eventkit/ekerror/nostartdate.md)
- [datesInverted](eventkit/ekerror/datesinverted.md)
- [internalFailure](eventkit/ekerror/internalfailure.md)
- [calendarReadOnly](eventkit/ekerror/calendarreadonly.md)
- [durationGreaterThanRecurrence](eventkit/ekerror/durationgreaterthanrecurrence.md)
- [alarmGreaterThanRecurrence](eventkit/ekerror/alarmgreaterthanrecurrence.md)
- [startDateTooFarInFuture](eventkit/ekerror/startdatetoofarinfuture.md)
- [startDateCollidesWithOtherOccurrence](eventkit/ekerror/startdatecollideswithotheroccurrence.md)
- [objectBelongsToDifferentStore](eventkit/ekerror/objectbelongstodifferentstore.md)
- [invitesCannotBeMoved](eventkit/ekerror/invitescannotbemoved.md)
- [calendarHasNoSource](eventkit/ekerror/calendarhasnosource.md)
- [calendarSourceCannotBeModified](eventkit/ekerror/calendarsourcecannotbemodified.md)
