abadi199/dateparser/1.0.3

NOTE: this package is not compatible with Elm 0.19.1

Error

DateParser Error

type Error
= PatternError String
| ParsingError Error
| DateError String

DateParser Error type

An error can comes from different phases in the parsing process:

  • PatternError: an error that comes from when trying to parse the date pattern
  • ParsingError: an error that comes from parsing the date string.
  • DateError: an error when trying to construct a Date from the parsed information.