class ActionController::MCPServer::RPCError

Overview

a JSON-RPC error response

Defined in:

action-controller/mcp/protocol.cr

Constant Summary

INTERNAL_ERROR = -32603
INVALID_PARAMS = -32602
INVALID_REQUEST = -32600
METHOD_NOT_FOUND = -32601
PARSE_ERROR = -32700

Constructors

Instance Method Summary

Constructor Detail

def self.new(code : Int32, message : String) #

[View source]

Instance Method Detail

def code : Int32 #

[View source]