mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +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:
		 Maria José Solano
					Maria José Solano
				
			
				
					committed by
					
						![github-actions[bot]](/assets/img/avatar_default.png) github-actions[bot]
						github-actions[bot]
					
				
			
			
				
	
			
			
			![github-actions[bot]](/assets/img/avatar_default.png) github-actions[bot]
						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