From 2746f060be18645a688616c4c785bc54201380a3 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 27 Feb 2024 12:39:12 +0100 Subject: qapi: Move error documentation to new "Errors" sections Signed-off-by: Markus Armbruster Message-ID: <20240227113921.236097-5-armbru@redhat.com> --- qapi/misc.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'qapi/misc.json') diff --git a/qapi/misc.json b/qapi/misc.json index 11c55c2b6c..578f574a68 100644 --- a/qapi/misc.json +++ b/qapi/misc.json @@ -345,6 +345,8 @@ # # Returns: # - @AddfdInfo on success +# +# Errors: # - If file descriptor was not received, GenericError # - If @fdset-id is a negative value, GenericError # @@ -376,6 +378,8 @@ # # Returns: # - Nothing on success +# +# Errors: # - If @fdset-id or @fd is not found, GenericError # # Since: 1.2 @@ -528,8 +532,10 @@ # @option: option name # # Returns: list of @CommandLineOptionInfo for all options (or for the -# given @option). Returns an error if the given @option doesn't -# exist. +# given @option). +# +# Errors: +# - if the given @option doesn't exist # # Since: 1.5 # -- cgit v1.2.3