Tempo.AmbiguousZoneError exception (Tempo v0.4.0)

Copy Markdown View Source

Exception raised when a wall-clock reading occurs twice in the given time zone — the DST fall-back ambiguity. The wall time exists, but with two different UTC offsets; the caller must disambiguate with an explicit offset.

Summary

Types

t()

@type t() :: %Tempo.AmbiguousZoneError{
  __exception__: true,
  options: [integer()] | nil,
  wall_time: String.t() | nil,
  zone_id: String.t() | nil
}