Skip to content

RpcErrors

Namespace: E2E.Engine.Protocol

public static class RpcErrors

The JSON-RPC error codes the protocol uses, LSP’s numbering. Upstream’s RPC_ERRORS (engine/protocol/connection.ts).

Inheritance: object

View source

public const int ConnectionClosed = -32099

The connection closed before the request was answered.

Value: int

public const int EngineError = -32000

A server error carrying an e2e error in data.

Value: int

public const int InternalError = -32603

Value: int

public const int InvalidParams = -32602

Value: int

public const int InvalidRequest = -32600

Value: int

public const int MethodNotFound = -32601

Value: int

public const int ParseError = -32700

Value: int