Exception: BehaviorTree::InvalidLeafNodeError
- Inherits:
-
StandardError
- Object
- StandardError
- BehaviorTree::InvalidLeafNodeError
- Defined in:
- lib/behavior_tree/errors.rb
Overview
Exception for control nodes without children.
Instance Method Summary collapse
-
#initialize ⇒ InvalidLeafNodeError
constructor
A new instance of InvalidLeafNodeError.
Constructor Details
#initialize ⇒ InvalidLeafNodeError
Returns a new instance of InvalidLeafNodeError.
24 25 26 |
# File 'lib/behavior_tree/errors.rb', line 24 def initialize super 'This node cannot be a leaf node.' end |