Class: ModelContextProtocol::Server::StdioTransport::ErrorResponse
- Inherits:
-
Data
- Object
- Data
- ModelContextProtocol::Server::StdioTransport::ErrorResponse
- Defined in:
- lib/model_context_protocol/server/stdio_transport.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
9 10 11 |
# File 'lib/model_context_protocol/server/stdio_transport.rb', line 9 def error @error end |
#id ⇒ Object (readonly)
Returns the value of attribute id
9 10 11 |
# File 'lib/model_context_protocol/server/stdio_transport.rb', line 9 def id @id end |
Instance Method Details
#serialized ⇒ Object
10 11 12 |
# File 'lib/model_context_protocol/server/stdio_transport.rb', line 10 def serialized {jsonrpc: "2.0", id:, error:} end |