Exception: VectorMCP::ParseError

Inherits:
ProtocolError show all
Defined in:
lib/vector_mcp/errors.rb

Overview

Represents a JSON-RPC Parse error (-32700). Indicates invalid JSON was received by the server.

Instance Attribute Summary

Attributes inherited from ProtocolError

#code, #details, #message, #request_id

Instance Method Summary collapse

Constructor Details

#initialize(message = "Parse error", details: nil, request_id: nil) ⇒ ParseError



47
48
49
# File 'lib/vector_mcp/errors.rb', line 47

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