Error raised when a command is not allowed in the current robot state.
@type t() :: %BB.Robot.Runtime.StateError{ __exception__: true, allowed_states: [atom()], current_state: atom(), message: String.t() }