MCP::Protocol::JSONRPCError
Inherits MCP::Protocol::JSONRPCMessageWithId < MCP::Protocol::JSONRPCMessage < JSON::Serializable < Reference < Object
Constructors
new(id : RequestId | Nil, code : ErrorCode, message : String, data : Hash(String, JSON::Any) | Nil = nil)
Sourcenew(id, error : MCP::Protocol::JSONRPCError::ErrorDetail)
Sourcenew(pull : JSON::PullParser)
SourceClass methods
Instance methods
error
Source