From 9e784e3cec644cf61777245fa5d6f573540f38d8 Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Fri, 8 Sep 2023 15:07:25 +0100 Subject: [PATCH] fix: error code of JsonRpcInternalError --- pygls/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygls/exceptions.py b/pygls/exceptions.py index 639ea669..33fe2946 100644 --- a/pygls/exceptions.py +++ b/pygls/exceptions.py @@ -67,7 +67,7 @@ def to_dict(self): class JsonRpcInternalError(JsonRpcException): - CODE = -32602 + CODE = -32603 MESSAGE = "Internal Error" @classmethod