[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 02/24] python/aqmp: add error classes
From: |
Eric Blake |
Subject: |
Re: [PATCH v2 02/24] python/aqmp: add error classes |
Date: |
Tue, 3 Aug 2021 11:01:29 -0500 |
User-agent: |
NeoMutt/20210205-687-0ed190 |
On Fri, Jul 16, 2021 at 08:32:31PM -0400, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> python/qemu/aqmp/__init__.py | 4 +++
> python/qemu/aqmp/error.py | 50 ++++++++++++++++++++++++++++++++++++
> 2 files changed, 54 insertions(+)
> create mode 100644 python/qemu/aqmp/error.py
> +++ b/python/qemu/aqmp/error.py
> @@ -0,0 +1,50 @@
> +
> +class ProtocolError(AQMPError):
> + """
> + Abstract error class for protocol failures.
> +
> + Semantically, these errors are generally the fault of either the
> + protocol server or as a result of a bug in this this library.
duplicate 'this'
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- Re: [PATCH v2 02/24] python/aqmp: add error classes,
Eric Blake <=