Exception: McpToolkit::Protocol::MethodNotFound
- Defined in:
- lib/mcp_toolkit/protocol.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(method_name, data: nil) ⇒ MethodNotFound
constructor
A new instance of MethodNotFound.
Methods inherited from Error
Constructor Details
#initialize(method_name, data: nil) ⇒ MethodNotFound
Returns a new instance of MethodNotFound.
72 73 74 |
# File 'lib/mcp_toolkit/protocol.rb', line 72 def initialize(method_name, data: nil) super("Method not found: #{method_name}", code: ErrorCodes::METHOD_NOT_FOUND, data:) end |