From 0d5b2062289e22fbd54cfd04cd4a77c01c327568 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 11 Sep 2024 15:24:58 +0200 Subject: [PATCH] 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 Message-ID: <20240911132459.2548063-2-armbru@redhat.com> Reviewed-by: Eric Blake --- qapi/block-core.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/qapi/block-core.json b/qapi/block-core.json index c3b0a2376bf..d3f076db9d5 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 ## -- 2.39.5