Exception: BehaviorTree::IncorrectStatusValueError
- Inherits:
-
StandardError
- Object
- StandardError
- BehaviorTree::IncorrectStatusValueError
- Defined in:
- lib/behavior_tree/errors.rb
Overview
Exception for when a node has an incorrect status value.
Instance Method Summary collapse
-
#initialize(value) ⇒ IncorrectStatusValueError
constructor
A new instance of IncorrectStatusValueError.
Constructor Details
#initialize(value) ⇒ IncorrectStatusValueError
Returns a new instance of IncorrectStatusValueError.
31 32 33 |
# File 'lib/behavior_tree/errors.rb', line 31 def initialize(value) super "Incorrect status value. A node cannot have '#{value}' status." end |