View Source Anthropic.Messages.StreamEvent.Error (anthropic_community v0.5.0)
A terminal error delivered as the final element of the event stream — either an in-band
event: error frame from the API, or a transport-level failure (connection drop, decode
failure, timeout) surfaced this way instead of raising mid-Stream.
Summary
Types
@type t() :: %Anthropic.Messages.StreamEvent.Error{error: Anthropic.Error.t()}