# `Codex.Items.Error`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/items.ex#L417)

Normalised error record describing failures surfaced during a turn.

# `t`

```elixir
@type t() :: %Codex.Items.Error{
  id: String.t() | nil,
  message: String.t(),
  type: :error
}
```

---

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