mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
fix(lsp): add RequestFailed
error code constant #34645
Also remove `serverErrorStart/End` as [the spec](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#errorCodes)
says that they're deprecated and don't even represent a real error code.
(cherry picked from commit 3eaa6c5a66
)
This commit is contained in:
committed by
github-actions[bot]
parent
638bc951b2
commit
4621527f59
@ -162,14 +162,13 @@ local constants = {
|
||||
MethodNotFound = -32601,
|
||||
InvalidParams = -32602,
|
||||
InternalError = -32603,
|
||||
serverErrorStart = -32099,
|
||||
serverErrorEnd = -32000,
|
||||
ServerNotInitialized = -32002,
|
||||
UnknownErrorCode = -32001,
|
||||
-- Defined by the protocol.
|
||||
RequestCancelled = -32800,
|
||||
ContentModified = -32801,
|
||||
ServerCancelled = -32802,
|
||||
RequestFailed = -32803,
|
||||
},
|
||||
|
||||
-- Describes the content type that a client supports in various
|
||||
|
Reference in New Issue
Block a user