# `AgentCall.Error`
[🔗](https://github.com/gilbertwong96/agent_call/blob/main/lib/agent_call/error.ex#L1)

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.

# `kind`

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

# `t`

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

---

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