Localize.UnknownCalendarError exception (Localize v1.4.0)

Copy Markdown View Source

Exception returned when a calendar is not one Localize can use: a name that is not a known CLDR calendar type, or a calendar module that is neither Calendar.ISO nor answers the callbacks Localize puts to a calendar, those of the Calendrical behaviour and of the Calendar behaviour it extends.

Summary

Types

t()

@type t() :: %Localize.UnknownCalendarError{
  __exception__: term(),
  calendar: atom() | String.t() | nil
}