Calendrical.InvalidMonthError exception (Calendrical v2.2.0)

Copy Markdown

Exception returned when a month is one a calendar, or a year of it, does not have.

Fields

  • :calendar — the calendar module that was asked.

  • :year — the year that was asked for the month, or nil when the question had no year.

  • :month — the month as it was given: an ordinal month, or a traditional month such as {2, :leap}.