Exception: BehaviorTree::IncorrectStatusValueError

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

Overview

Exception for when a node has an incorrect status value.

Instance Method Summary collapse

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