From: Peter Maydell Date: Mon, 15 May 2023 16:22:44 +0000 (+0100) Subject: docs/interop/qmp-spec: Update error description for parsing errors X-Git-Tag: nvme-fixes-pull-request~145^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8a85b8ec3da7f6b5edddb4e142807785044c748e;p=qemu-nvme.git docs/interop/qmp-spec: Update error description for parsing errors The description text for a parsing error has changed since the spec doc was first written; update the example in the docs. Suggested-by: Markus Armbruster Signed-off-by: Peter Maydell Message-Id: <20230515162245.3964307-3-peter.maydell@linaro.org> Reviewed-by: Eric Blake Reviewed-by: Markus Armbruster Signed-off-by: Markus Armbruster --- diff --git a/docs/interop/qmp-spec.rst b/docs/interop/qmp-spec.rst index 45d6c98041..563344160e 100644 --- a/docs/interop/qmp-spec.rst +++ b/docs/interop/qmp-spec.rst @@ -307,7 +307,7 @@ This section provides some examples of real QMP usage, in all of them .. code-block:: QMP -> { "execute": } - <- { "error": { "class": "GenericError", "desc": "Invalid JSON syntax" } } + <- { "error": { "class": "GenericError", "desc": "JSON parse error, expecting value" } } .. admonition:: Example