# `Jido.Chat.OptionsLoadError`
[🔗](https://github.com/agentjido/jido_chat/blob/v1.2.0/lib/jido/chat/options_load_error.ex#L1)

Typed error or timeout from a dynamic select option loader.

# `t`

```elixir
@type t() :: %Jido.Chat.OptionsLoadError{
  code: binary(),
  kind: :error | :timeout,
  message: binary(),
  metadata: map(),
  retryable: boolean(),
  timeout_ms: nil | nil | integer()
}
```

# `from_map`

```elixir
@spec from_map(map()) :: t()
```

Builds an options-load error from serialized data.

# `new`

```elixir
@spec new(t() | map()) :: t()
```

Creates an options-load error.

# `schema`

Returns the schema for an options-load error.

# `timeout`

```elixir
@spec timeout(pos_integer(), keyword() | map()) :: t()
```

Creates a retryable options-load timeout.

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

Serializes the options-load error.

---

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