class LSProtocol::ResponseError

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(code : Int32, message : String, data : LSPAny | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def code : Int32 #

A number indicating the error type that occurred.


[View source]
def data : LSPAny | Nil #

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


[View source]
def message : String #

A string providing a short description of the error.


[View source]