BB.Robot.Runtime.StateError exception (bb v0.4.0)

View Source

Error raised when a command is not allowed in the current robot state.

Summary

Types

t()

@type t() :: %BB.Robot.Runtime.StateError{
  __exception__: true,
  allowed_states: [atom()],
  current_state: atom(),
  message: String.t()
}