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

Error class for unexpected errors.

A catch-all for errors that don't fit other categories or
represent truly unexpected system failures.

## Examples

    iex> error = LeXtract.Error.Unknown.Unknown.exception(error: "unexpected failure")
    iex> match?(%LeXtract.Error.Unknown.Unknown{}, error)
    true

# `exception`

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

Create an `Elixir.LeXtract.Error.Unknown` without raising it.

## Keys

- :errors

# `message`

---

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