Calendrical. InvalidDateError exception
(Calendrical v2.2.0)
Copy Markdown
Exception returned when a value is not a date of a calendar: a day the month does not have, a month the year does not have, a week the year does not have, or a field that is not an integer.
Fields
:calendar— the calendar module that was asked, ornilwhen no calendar was given.:value— what was asked for: a{year, month, day}for a date, or a keyword list naming the fields of anything else, such as[year: 0],[year: 2026, quarter: 5]or[year: 2026, week: 54].