struct

LSP::ResponseMessage(Result)

Inherits JSON::Serializable::Strict < JSON::Serializable < LSP::Initializer < LSP::Message < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

error

The error object in case a request fails.

Source
error=(error : ResponseError | Nil)

The error object in case a request fails.

Source
id

The request id.

Source
id=(id : RequestMessage::RequestId | Nil)

The request id.

Source
result

The result of a request. This member is REQUIRED on success. This member MUST NOT exist if there was an error invoking the method.

Source
result=(result : Result | Nil)

The result of a request. This member is REQUIRED on success. This member MUST NOT exist if there was an error invoking the method.

Source