Calendrical.DateParseError exception (Calendrical v0.5.0)

Copy Markdown

Raised (or returned as {:error, _}) when Calendrical.Date.parse/2 can't interpret an input string as a date.

Fields

  • :message — human-readable description of the failure.

  • :input — the raw string that failed to parse.

  • :locale — the locale the parser tried.

  • :calendar — the CLDR calendar key the parser tried.