# `Tune.Error.Output.Rejected`
[🔗](https://github.com/mikehostetler/tune/blob/v0.5.0/lib/tune/error.ex#L72)

A ReqLLM response is not an acceptable completed reply.

`reason` is one of `:response_error`, `:refusal`, `:finish_reason`, or
`:repaired`. The original response is retained.

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Tune.Error.Output.Rejected{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  message: term(),
  path: term(),
  reason: term(),
  response: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Tune.Error.Output.Rejected` without raising it.

## Keys

- :reason
- :message
- :response

---

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