struct LSP::ResponseError

Included Modules

Defined in:

response_message.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(e : ::Exception) #

def self.new(e : LSP::Exception) #

def self.new(**args) #

Instance Method Detail

def code : Int32 #

A number indicating the error type that occurred.


def code=(code : Int32) #

A number indicating the error type that occurred.


def data : DataType #

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


def data=(data : DataType) #

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


def message : String #

A string providing a short description of the error.


def message=(message : String) #

A string providing a short description of the error.