Exception: Mcp::Tools::Manager::ToolNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Mcp::Tools::Manager::ToolNotFoundError
- Defined in:
- app/services/mcp/tools/manager.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#tool_name ⇒ Object
readonly
Returns the value of attribute tool_name.
Instance Method Summary collapse
-
#initialize(tool_name) ⇒ ToolNotFoundError
constructor
A new instance of ToolNotFoundError.
Constructor Details
#initialize(tool_name) ⇒ ToolNotFoundError
Returns a new instance of ToolNotFoundError.
11 12 13 14 |
# File 'app/services/mcp/tools/manager.rb', line 11 def initialize(tool_name) @tool_name = tool_name super("Tool '#{tool_name}' not found.") end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
9 10 11 |
# File 'app/services/mcp/tools/manager.rb', line 9 def args @args end |
#tool_name ⇒ Object (readonly)
Returns the value of attribute tool_name.
9 10 11 |
# File 'app/services/mcp/tools/manager.rb', line 9 def tool_name @tool_name end |