struct LSP::ResponseError

Included Modules

Defined in:

response_message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(e : ::Exception) #

[View source]
def self.new(e : LSP::Exception) #

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def code : Int32 #

A number indicating the error type that occurred.


[View source]
def code=(code : Int32) #

A number indicating the error type that occurred.


[View source]
def data : DataType #

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


[View source]
def data=(data : DataType) #

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]
def message=(message : String) #

A string providing a short description of the error.


[View source]