# `Tempo.IntervalEndpointsError`
[🔗](https://github.com/elixir-tempo/tempo/blob/v2.1.0/lib/tempo/exception/interval_endpoints_error.ex#L1)

An interval whose ends do not make a span.

* `:reason` is `:order` for an end before its start, `:calendars` for two
  ends in two calendars, `:zones` for two ends in two zones, `:open` for an
  end that is not there, `:duration` for two durations, `:empty` for a
  duration of nothing, or a description.

# `t`

```elixir
@type t() :: %Tempo.IntervalEndpointsError{
  __exception__: term(),
  from: term(),
  reason: term(),
  to: term()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
