enum LSP::Data::ResponseError::Code

Defined in:

lsp/data/response_error.cr

Enum Members

ParseError = -32700

Defined by JSON RPC.

InvalidRequest = -32600
MethodNotFound = -32601
InvalidParams = -32602
InternalError = -32603
ServerErrorStart = -32099
ServerErrorEnd = -32000
ServerNotInitialized = -32002
UnknownErrorCode = -32001
RequestCancelled = -32800

Defined by the protocol.

Constructors

Instance Method Summary

Constructor Detail

def self.new(*args) #

[View source]

Instance Method Detail

def internal_error? #

[View source]
def invalid_params? #

[View source]
def invalid_request? #

[View source]
def method_not_found? #

[View source]
def parse_error? #

[View source]
def request_cancelled? #

[View source]
def server_error_end? #

[View source]
def server_error_start? #

[View source]
def server_not_initialized? #

[View source]
def to_json(*args) #

[View source]
def unknown_error_code? #

[View source]