Calendrical.AstronomyError exception (Calendrical v2.2.0)

Copy Markdown

Exception returned when an astronomical calculation behind a calendar cannot be made for a reason other than the dates it covers, which Calendrical.UnsupportedDateRangeError describes.

Fields

  • :calendar — the calendar or module whose calculation it was.

  • :value — the year or date the calculation was made for.

  • :reason — the reason Astro gave, such as :no_time.