Calendrical.TimeParseError exception (Calendrical v0.5.0)

Copy Markdown

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

Fields

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

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

  • :locale — the locale the parser tried.