# `LeXtract.Error.Processing.Resolution`
[🔗](https://github.com/YgorCastor/lextract.git/blob/main/lib/lextract/error/processing/resolution.ex#L1)

Error for extraction resolution failures.

Raised when LLM output cannot be resolved into Extraction structs,
typically due to missing extraction data or malformed response structure.

## Examples

    iex> error = LeXtract.Error.Processing.Resolution.exception(
    ...>   reason: "Could not find extractions array in parsed data"
    ...> )
    iex> String.contains?(Exception.message(error), "extractions array")
    true

# `t`

```elixir
@type t() :: %LeXtract.Error.Processing.Resolution{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  reason: String.t(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %LeXtract.Error.Processing.Resolution{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.LeXtract.Error.Processing.Resolution` without raising it.

## Keys

- :reason

# `message`

```elixir
@spec message(t()) :: String.t()
```

Formats the error message for resolution failures.

---

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