Exception: VectorMCP::InternalError

Inherits:
ProtocolError show all
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

Constructor Details

#initialize(message = "Internal error", details: nil, request_id: nil) ⇒ InternalError



102
103
104
# File 'lib/vector_mcp/errors.rb', line 102

def initialize(message = "Internal error", details: nil, request_id: nil)
  super(message, code: -32_603, details: details, request_id: request_id)
end