# `CodexWrapper.StreamError`
[🔗](https://github.com/genagent/codex_wrapper_ex/blob/v0.5.8/lib/codex_wrapper/stream_error.ex#L1)

A terminal failure emitted by a streaming Codex command.

`{:idle_timeout, ms}` means no output arrived within the configured idle
interval; `{:timeout, ms}` means the whole command exceeded its deadline;
`{:line_too_long, max_bytes}` means a JSONL line exceeded the runner's
supported size and could not be parsed safely.

# `t`

```elixir
@type t() :: %CodexWrapper.StreamError{reason: term()}
```

---

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