Localize.CalendarConversionError exception (Localize v1.4.3)

Copy Markdown View Source

Exception returned when a value cannot be written in the calendar asked for, the calendars counting their days differently so that no day of the one is a day of the other.

A locale's -u-ca- names the calendar its dates are written in, and a value whose own calendar cannot be converted into that one is this error.

Summary

Types

t()

@type t() :: %Localize.CalendarConversionError{
  __exception__: term(),
  calendar: module() | nil,
  value: term()
}