# `Localize.DateTimeFormatError`
[🔗](https://github.com/elixir-localize/localize/blob/v1.7.0/lib/localize/exception/datetime_format_error.ex#L1)

Exception raised when a date, time, or datetime format
pattern cannot be processed.

# `t`

```elixir
@type t() :: %Localize.DateTimeFormatError{
  __exception__: term(),
  detail: term(),
  format: String.t() | atom() | struct() | nil,
  reason: atom() | nil
}
```

---

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