qapi: Clean up a few Errors: sections

Use the conventional "- If <error-condition>" phrasing, optionally
with ", <error-class>".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250708072828.105185-3-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Markus Armbruster 2025-07-08 09:28:28 +02:00
parent c13ceeb42d
commit 92227370eb
2 changed files with 5 additions and 6 deletions

View file

@ -283,10 +283,9 @@
# Returns: SevAttestationReport objects.
#
# Errors:
# - This will return an error if the attestation report is
# unavailable, either due to an invalid guest configuration
# or if the guest has not reached the required SEV state,
# GenericError
# - If the attestation report is unavailable, either due to an
# invalid guest configuration or because the guest has not
# reached the required SEV state, GenericError
#
# Since: 6.1
#

View file

@ -1261,7 +1261,7 @@
# Create a QOM object.
#
# Errors:
# - Error if @qom-type is not a valid class name
# - If @qom-type is not a valid class name
#
# Since: 2.0
#
@ -1283,7 +1283,7 @@
# @id: the name of the QOM object to remove
#
# Errors:
# - Error if @id is not a valid id for a QOM object
# - If @id is not a valid id for a QOM object
#
# Since: 2.0
#