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

A driver can't say what it will produce from its declared options alone.

`c:BB.Camera.stream_info/1` runs during discovery against robots that aren't
running, so it can't ask the hardware. A driver whose format genuinely only
becomes knowable once the device is open returns this, and discovery reports
`stream_info: nil` rather than guessing.

# `t`

```elixir
@type t() :: %BB.Error.Invalid.Camera.UnknownStreamInfo{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  module: module(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

# `exception`

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

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

## Keys

- :module
- :reason

---

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