From 60d804851ba53be6a33b009295abff2de12afcdb Mon Sep 17 00:00:00 2001 From: cola119 Date: Wed, 27 Dec 2023 16:17:17 +0900 Subject: [PATCH] tools: update inspector_protocol to d7b099b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/51293 Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca --- tools/inspector_protocol/lib/DispatcherBase_h.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/inspector_protocol/lib/DispatcherBase_h.template b/tools/inspector_protocol/lib/DispatcherBase_h.template index 7d859c4f2753bb..4aa0688adb33fc 100644 --- a/tools/inspector_protocol/lib/DispatcherBase_h.template +++ b/tools/inspector_protocol/lib/DispatcherBase_h.template @@ -25,6 +25,9 @@ public: kFallThrough = 2, }; + // For historical reasons, these error codes correspond to commonly used + // XMLRPC codes (e.g. see METHOD_NOT_FOUND in + // https://github.com/python/cpython/blob/master/Lib/xmlrpc/client.py). enum ErrorCode { kParseError = -32700, kInvalidRequest = -32600,