struct

LSP::ResponseError

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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

Instance methods

code

A number indicating the error type that occurred.

Source
code=(code : ErrorCode)

A number indicating the error type that occurred.

Source
data

A primitive or structured value that contains additional information about the error. Can be omitted.

Source
data=(data : JSON::Any | Nil)

A primitive or structured value that contains additional information about the error. Can be omitted.

Source
message

A string providing a short description of the error.

Source
message=(message : String)

A string providing a short description of the error.

Source