struct

LSP::Protocol::ResponseError

Inherits Struct / Value / Object

Constructors

new(__temp_296 : JSON::PullParser)
Source
new(ex : ProtocolException)
Source
new(ex : Exception)
Source
new(message : String, data : Nil | Array(String) = nil, code : LSP::Protocol::ErrorCodes = ErrorCodes::UnknownErrorCode)
Source

Instance methods

code
Source
code=(_code : ErrorCodes)
Source
data
Source
data=(_data : Union(Array(String), Nil))
Source
message
Source
message=(_message : String)
Source
to_json(json : JSON::Builder)
Source