BB.Error.Invalid.Camera.UnknownCamera exception (bb_camera v0.1.1)

Copy Markdown View Source

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.

Summary

Types

t()

@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()
}

Functions

exception(args)

@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