# `Milvex.Errors.Unknown`

Fallback for unexpected or unclassified errors.

Used when:
- An unexpected exception occurs
- Error cannot be classified into other categories
- Wrapping third-party library errors

# `t`

```elixir
@type t() :: %Milvex.Errors.Unknown{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  context: map() | nil,
  error: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Milvex.Errors.Unknown{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  context: term(),
  error: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Milvex.Errors.Unknown` without raising it.

## Keys

- :error
- :context

---

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