Exception: BehaviorTree::RegisterDSLNodeAlreadyExistsError
- Inherits:
-
StandardError
- Object
- StandardError
- BehaviorTree::RegisterDSLNodeAlreadyExistsError
- Defined in:
- lib/behavior_tree/errors.rb
Overview
Exception for when trying to register a DSL keyword that already exists.
Instance Method Summary collapse
-
#initialize(node_type) ⇒ RegisterDSLNodeAlreadyExistsError
constructor
A new instance of RegisterDSLNodeAlreadyExistsError.
Constructor Details
#initialize(node_type) ⇒ RegisterDSLNodeAlreadyExistsError
Returns a new instance of RegisterDSLNodeAlreadyExistsError.
61 62 63 |
# File 'lib/behavior_tree/errors.rb', line 61 def initialize(node_type) super "Cannot register node '#{node_type}', it already exists." end |