class

ActionController::MCPServer::RPCError

Inherits Exception < Reference < Object

a JSON-RPC error response

Constants

HEADER_MISMATCH = -32020
INTERNAL_ERROR = -32603
INVALID_PARAMS = -32602
INVALID_REQUEST = -32600
METHOD_NOT_FOUND = -32601
PARSE_ERROR = -32700
RESOURCE_NOT_FOUND = -32002

MCP specific

UNSUPPORTED_PROTOCOL_VERSION = -32022

Constructors

new(code : Int32, message : String)
Source

Instance methods

code
Source