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

A time zone Tempo cannot use.

* `:zone` is the zone name or offset as written.

* `:reason` is `:unknown` for a name the database does not have,
  `:no_database` for a name given where the time zone database
  configured knows only UTC, `:gap` for a reading the zone's clock skips, `:mixed` for an expression whose parts
  are in two zones, `:critical` for a critical suffix Tempo cannot act on, or
  `:inconsistent` for a time shift a critical zone does not have then.

# `t`

```elixir
@type t() :: %Tempo.ZoneError{
  __exception__: term(),
  reason: :unknown | :no_database | :gap | :mixed | :critical | :inconsistent,
  value: term(),
  zone: term()
}
```

---

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