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

The camera is declared but its `BB.Camera.Hub` isn't alive.

The robot may not be started, the sensor may have crashed, or the hardware
may be absent. Discovery still lists the camera - with `status: :declared` -
because an operator needs to see a camera that should be there and isn't.

# `t`

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

# `exception`

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

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

## Keys

- :robot
- :camera

---

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