class LSProtocol::ResponseErrorMessage

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(id : Int32 | String, error : ResponseError | Nil = nil) #

[View source]

Instance Method Detail

def error : ResponseError | Nil #

The error object in case a request fails.


[View source]
def id : Int32 | String #

The request id where the error occurred.


[View source]
def jsonrpc : String #

[View source]