LlmCall.WS.Error exception (llm_call v0.1.0)

Copy Markdown View Source

Raised by a WebSocket stream when the session or the connection fails.

An Enumerable cannot return a tuple, so the canonical error is carried on the exception and read back with error/1.

Summary

Functions

The wrapped value, usually a %LlmCall.Error{}.

Types

t()

@type t() :: %LlmCall.WS.Error{__exception__: term(), error: term()}

Functions

error(error)

@spec error(t()) :: term()

The wrapped value, usually a %LlmCall.Error{}.