Exception: VectorMCP::InternalError
- Inherits:
-
ProtocolError
- Object
- StandardError
- Error
- ProtocolError
- VectorMCP::InternalError
- Defined in:
- lib/vector_mcp/errors.rb
Overview
Represents a JSON-RPC Internal error (-32603). Indicates an internal error in the JSON-RPC server.
Instance Attribute Summary
Attributes inherited from ProtocolError
#code, #details, #message, #request_id
Instance Method Summary collapse
-
#initialize(message = "Internal error", details: nil, request_id: nil) ⇒ InternalError
constructor
A new instance of InternalError.
Constructor Details
#initialize(message = "Internal error", details: nil, request_id: nil) ⇒ InternalError
Returns a new instance of InternalError.
93 94 95 |
# File 'lib/vector_mcp/errors.rb', line 93 def initialize( = "Internal error", details: nil, request_id: nil) super(, code: -32_603, details: details, request_id: request_id) end |