AgentCall.Error (agent_call v0.1.0)

Copy Markdown View Source

The single error type at the boundary.

:configuration means the caller's inputs cannot be run; :llm means llm_call refused or failed the call, with the %LlmCall.Error{} in cause; :tool means the dispatcher itself is broken. Retryability is a property of the cause, not of this wrapper.

Summary

Types

kind()

@type kind() :: :configuration | :llm | :tool

t()

@type t() :: %AgentCall.Error{cause: term(), kind: kind(), message: String.t() | nil}