chrono.error - Exceptions
This module contains various exceptions used by python-chrono.
Note
These exceptions are imported into the main chrono module,
and can therefore be referenced both via (for example)
chrono.error.YearError and chrono.YearError.
The exception tree is structured as follows:
-
exception chrono.error.DateError
- Error for invalid date.
-
exception chrono.error.DateTimeError
- Error for invalid date and/or time.
-
exception chrono.error.DayError
- Error for invalid day.
-
exception chrono.error.HourError
- Error for invalid hour.
-
exception chrono.error.MinuteError
- Error for invalid minute.
-
exception chrono.error.MonthError
- Error for invalid month.
-
exception chrono.error.NoDateTimeError
- Error for missing date/time data.
-
exception chrono.error.ParseError
- Error for parse failures.
-
exception chrono.error.SecondError
- Error for invalid second.
-
exception chrono.error.TimeError
- Error for invalid time.
-
exception chrono.error.WeekError
- Error for invalid week.
-
exception chrono.error.YearError
- Error for invalid year.