Exception: BehaviorTree::InvalidLeafNodeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/behavior_tree/errors.rb

Overview

Exception for control nodes without children.

Instance Method Summary collapse

Constructor Details

#initializeInvalidLeafNodeError

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