aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-09-11 15:24:58 +0200
committerMarkus Armbruster <armbru@redhat.com>2024-10-02 09:10:01 +0200
commit0d5b2062289e22fbd54cfd04cd4a77c01c327568 (patch)
tree8e984d62194e7235ad9e37e00d747bfb6db84456
parent4707331d1570e627b8fb72986227d1e2ac06e238 (diff)
downloadqemu-0d5b2062289e22fbd54cfd04cd4a77c01c327568.zip
qemu-0d5b2062289e22fbd54cfd04cd4a77c01c327568.tar.gz
qemu-0d5b2062289e22fbd54cfd04cd4a77c01c327568.tar.bz2
qapi: Drop "with an explanation" from error descriptions
All errors come with an explanation, namely the human-readable error message in the error response's @desc member. Drop the redundant "with an explanation" phrase. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240911132459.2548063-2-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
-rw-r--r--qapi/block-core.json11
1 files changed, 5 insertions, 6 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index c3b0a23..d3f076d 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -2304,7 +2304,7 @@
#
# Errors:
# - If @node is not a valid block device or node, DeviceNotFound
-# - If @name is already taken, GenericError with an explanation
+# - If @name is already taken, GenericError
#
# Since: 2.4
#
@@ -2327,7 +2327,7 @@
#
# Errors:
# - If @node is not a valid block device or node, DeviceNotFound
-# - If @name is not found, GenericError with an explanation
+# - If @name is not found, GenericError
# - if @name is frozen by an operation, GenericError
#
# Since: 2.4
@@ -2351,7 +2351,7 @@
#
# Errors:
# - If @node is not a valid block device, DeviceNotFound
-# - If @name is not found, GenericError with an explanation
+# - If @name is not found, GenericError
#
# Since: 2.4
#
@@ -2372,7 +2372,7 @@
#
# Errors:
# - If @node is not a valid block device, DeviceNotFound
-# - If @name is not found, GenericError with an explanation
+# - If @name is not found, GenericError
#
# Since: 4.0
#
@@ -2393,7 +2393,7 @@
#
# Errors:
# - If @node is not a valid block device, DeviceNotFound
-# - If @name is not found, GenericError with an explanation
+# - If @name is not found, GenericError
#
# Since: 4.0
#
@@ -2467,7 +2467,6 @@
# Errors:
# - If @node is not a valid block device, DeviceNotFound
# - If @name is not found or if hashing has failed, GenericError
-# with an explanation
#
# Since: 2.10
##