# `LlmCall.SSE.Error`
[🔗](https://github.com/gilbertwong96/llm_call/blob/main/lib/llm_call/sse/error.ex#L1)

Raised when an SSE stream cannot be framed.

`LlmCall.SSE.parse/2` returns payloads rather than a result tuple, so a stream
whose pending event exceeds the buffer cap raises instead of returning an
error. `LlmCall.Stream` turns this into an `LlmCall.HTTP.Error` carrying a
`:invalid_response` canonical error.

# `t`

```elixir
@type t() :: %LlmCall.SSE.Error{__exception__: term(), message: String.t()}
```

---

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