# `BB.Error.State.Camera.Timeout`
[🔗](https://github.com/beam-bots/bb_camera/blob/main/lib/bb/error/state/camera/timeout.ex#L5)

No new frame arrived within the caller's timeout.

The outstanding demand is cancelled at the hub before this is returned, so
nothing is left dangling and no frame is stranded in the caller's mailbox.

A timeout before any frame has ever arrived is the signal an HTTP route wants
for answering 503 rather than committing a 200 to a camera that never
produces.

# `t`

```elixir
@type t() :: %BB.Error.State.Camera.Timeout{
  __exception__: term(),
  bread_crumbs: term(),
  camera: atom(),
  class: term(),
  path: term(),
  robot: module(),
  splode: term(),
  stacktrace: term(),
  timeout: timeout(),
  vars: term()
}
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %BB.Error.State.Camera.Timeout{
  __exception__: term(),
  bread_crumbs: term(),
  camera: term(),
  class: term(),
  path: term(),
  robot: term(),
  splode: term(),
  stacktrace: term(),
  timeout: term(),
  vars: term()
}
```

Create an `Elixir.BB.Error.State.Camera.Timeout` without raising it.

## Keys

- :robot
- :camera
- :timeout

---

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