Sha256: ccc9b840192dba393974c53f7161f23baf9f35d3c5757ba29d0a09ad01f3e1c5

Contents?: true

Size: 1.44 KB

Versions: 4

Compression:

Stored size: 1.44 KB

Contents

module LanguageServer
  module Protocol
    module Constant
      module ErrorCodes
        PARSE_ERROR = -32700
        INVALID_REQUEST = -32600
        METHOD_NOT_FOUND = -32601
        INVALID_PARAMS = -32602
        INTERNAL_ERROR = -32603
        #
        # This is the start range of JSON RPC reserved error codes.
        # It doesn't denote a real error code. No LSP error codes should
        # be defined between the start and end range. For backwards
        # compatibility the `ServerNotInitialized` and the `UnknownErrorCode`
        # are left in the range.
        #
        JSONRPC_RESERVED_ERROR_RANGE_START = -32099
        SERVER_ERROR_START = JSONRPC_RESERVED_ERROR_RANGE_START
        SERVER_NOT_INITIALIZED = -32002
        UNKNOWN_ERROR_CODE = -32001
        #
        # This is the start range of JSON RPC reserved error codes.
        # It doesn't denote a real error code.
        #
        JSONRPC_RESERVED_ERROR_RANGE_END = -32000
        SERVER_ERROR_END = JSONRPC_RESERVED_ERROR_RANGE_END
        #
        # This is the start range of LSP reserved error codes.
        # It doesn't denote a real error code.
        #
        LSP_RESERVED_ERROR_RANGE_START = -32899
        CONTENT_MODIFIED = -32801
        REQUEST_CANCELLED = -32800
        #
        # This is the end range of LSP reserved error codes.
        # It doesn't denote a real error code.
        #
        LSP_RESERVED_ERROR_RANGE_END = -32800
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
language_server-protocol-3.16.0.3 lib/language_server/protocol/constant/error_codes.rb
language_server-protocol-3.16.0.2 lib/language_server/protocol/constant/error_codes.rb
language_server-protocol-3.16.0.1 lib/language_server/protocol/constant/error_codes.rb
language_server-protocol-3.16.0.0 lib/language_server/protocol/constant/error_codes.rb