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

Text that is not an ISO 8601 expression Tempo reads.

* `:text` is the text given.

* `:rest` is the text from the place the reader stopped, which names the
  position.

* `:reason` says what was expected or refused there.

* `:as` is what the text was read as: `"ISO 8601"`, the default, or `"a
  date rule"` for `Tempo.DateRule`.

# `t`

```elixir
@type t() :: %Tempo.ParseError{
  __exception__: term(),
  as: String.t(),
  reason: term(),
  rest: String.t() | nil,
  text: String.t()
}
```

---

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