Exception: Protege::ToolNotFoundError
- Defined in:
- lib/protege/errors/tool_not_found_error.rb
Overview
The model requested a tool whose name is not in ToolMixin.registered. Distinct from runtime
errors raised inside #use, which the harness wraps into the tool result so the model self-corrects.
Constant Summary
Constants inherited from Error
Error::PERMANENT, Error::TRANSIENT
Instance Method Summary collapse
-
#initialize(name:) ⇒ ToolNotFoundError
constructor
A new instance of ToolNotFoundError.
Constructor Details
#initialize(name:) ⇒ ToolNotFoundError
Returns a new instance of ToolNotFoundError.
7 |
# File 'lib/protege/errors/tool_not_found_error.rb', line 7 def initialize(name:) = super("no tool registered for :#{name}") |