# `BB.Error.State.Inference.ModelUnavailable`
[🔗](https://github.com/beam-bots/bb_inference/blob/main/lib/bb/error/state/inference/model_unavailable.ex#L5)

A call to a model's process didn't return: it stopped while the call was
waiting - usually because it failed to load - or it didn't answer within
the call's timeout.

`reason` is the exit reason of the call.

# `t`

```elixir
@type t() :: %BB.Error.State.Inference.ModelUnavailable{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  model: atom(),
  path: term(),
  reason: term(),
  robot: module(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %BB.Error.State.Inference.ModelUnavailable{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  model: term(),
  path: term(),
  reason: term(),
  robot: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.BB.Error.State.Inference.ModelUnavailable` without raising it.

## Keys

- :robot
- :model
- :reason

---

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