The stable, typed failures Ephemeris returns.
Every failure carries a machine-readable :code, a fixed human-readable
:message, and :details describing the specific occurrence. Match on the
code; the message is for people.
Summary
Functions
Returns every code this module defines.
Builds the :conflicting_parts error: Rule parts contradict each other.
Builds the :invalid_expression error: Recurrence expression is malformed.
Builds the :invalid_frequency error: Recurrence frequency is not one of the supported values.
Builds the :invalid_part error: Rule part has an invalid value.
Builds the :missing_frequency error: Recurrence rule has no frequency.
Builds the :no_occurrence error: Rule has no occurrence after the given reference.
Builds the :unknown_part error: Rule part is not recognised.
Builds the :unsupported_expression error: Expression is not one this parser understands.
Types
Functions
@spec codes() :: [atom()]
Returns every code this module defines.
Builds the :conflicting_parts error: Rule parts contradict each other.
Builds the :invalid_expression error: Recurrence expression is malformed.
Builds the :invalid_frequency error: Recurrence frequency is not one of the supported values.
Builds the :invalid_part error: Rule part has an invalid value.
Builds the :missing_frequency error: Recurrence rule has no frequency.
Builds the :no_occurrence error: Rule has no occurrence after the given reference.
Builds the :unknown_part error: Rule part is not recognised.
Builds the :unsupported_expression error: Expression is not one this parser understands.