Exception: McpToolkit::Protocol::InternalError
- Defined in:
- lib/mcp_toolkit/protocol.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Internal error", data: nil) ⇒ InternalError
constructor
A new instance of InternalError.
Methods inherited from Error
Constructor Details
#initialize(message = "Internal error", data: nil) ⇒ InternalError
Returns a new instance of InternalError.
84 85 86 |
# File 'lib/mcp_toolkit/protocol.rb', line 84 def initialize( = "Internal error", data: nil) super(, code: ErrorCodes::INTERNAL_ERROR, data:) end |