Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <armbru@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230515162245.3964307-3-peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
  • Loading branch information
pm215 authored and Markus Armbruster committed May 22, 2023
1 parent d565725 commit 8a85b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/interop/qmp-spec.rst
Expand Up @@ -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
Expand Down

0 comments on commit 8a85b8e

Please sign in to comment.