LlmCall.SSE.Error exception (llm_call v0.4.0)

Copy Markdown View Source

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.

Summary

Types

t()

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