struct LSP::Data::ResponseError(D)

Included Modules

Defined in:

lsp/data/response_error.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(data : D | Nil = nil, message : String = "(no error message specified)", code : LSP::Data::ResponseError::Code = Code::InternalError) #

[View source]

Instance Method Detail

def code : Code #

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

[View source]
def data : D | Nil #

[View source]
def data=(data : D | Nil) #

[View source]
def message : String #

[View source]
def message=(message : String) #

[View source]