# `BB.Error.Invalid.Camera.UnknownCamera`
[🔗](https://github.com/beam-bots/bb_camera/blob/main/lib/bb/error/invalid/camera/unknown_camera.ex#L5)

No camera by that name is declared on the robot.

This is a configuration error, not a runtime one: a camera that is declared
but not running reports `BB.Error.State.Camera.NotRunning` instead.

# `t`

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

# `exception`

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

Create an `Elixir.BB.Error.Invalid.Camera.UnknownCamera` without raising it.

## Keys

- :robot
- :camera
- :known

---

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