icalendar.error module#
Errors thrown by icalendar.
- exception icalendar.error.ComponentEndMissing[source]#
Bases:
IncompleteAlarmInformationWe are missing the end of a component that the alarm is for.
Use Alarms.set_end().
- exception icalendar.error.ComponentStartMissing[source]#
Bases:
IncompleteAlarmInformationWe are missing the start of a component that the alarm is for.
Use Alarms.set_start().
- exception icalendar.error.FeatureWillBeRemovedInFutureVersion[source]#
Bases:
DeprecationWarningThis feature will be removed in a future version.
- exception icalendar.error.IncompleteAlarmInformation[source]#
Bases:
ValueErrorThe alarms cannot be calculated yet because information is missing.
- exception icalendar.error.IncompleteComponent[source]#
Bases:
ValueErrorThe component is missing attributes.
The attributes are not required, otherwise this would be an InvalidCalendar. But in order to perform calculations, this attribute is required.
This error is not raised in the UPPERCASE properties like .DTSTART, only in the lowercase computations like .start.
- exception icalendar.error.InvalidCalendar[source]#
Bases:
ValueErrorThe calendar given is not valid.
This calendar does not conform with RFC 5545 or breaks other RFCs.
- exception icalendar.error.LocalTimezoneMissing[source]#
Bases:
IncompleteAlarmInformationWe are missing the local timezone to compute the value.
Use Alarms.set_local_timezone().