Tempo.UnboundedRecurrenceError exception (Tempo v0.3.0)

Copy Markdown View Source

Exception raised when a caller attempts to materialise an unbounded recurrence (recurrence: :infinity with no UNTIL and no :bound option) into a concrete IntervalSet.

Supply a :bound Tempo value — any Tempo whose upper endpoint limits the expansion — or convert the rule to a finite count before materialising.

Summary

Types

t()

@type t() :: %Tempo.UnboundedRecurrenceError{
  __exception__: true,
  interval: Tempo.Interval.t() | nil,
  reason: atom() | String.t() | nil
}