class

LSProtocol::ResponseError

Inherits JSON::Serializable / Reference / Object

Constructors

new(code : Int32, message : String, data : LSPAny | Nil = nil)
Source
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
data

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