summary refs log tree commit diff stats
path: root/python/qemu/aqmp/__init__.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-09-15 12:29:30 -0400
committerJohn Snow <jsnow@redhat.com>2021-09-27 12:10:29 -0400
commitfbfb6a37a34fc08f4ff0e5e1e5aab63650af5ed4 (patch)
tree7732db60a68fe26629695882c6b60452f644f32d /python/qemu/aqmp/__init__.py
parenta093a65567c797ab0a53e8a6962043679e3ed2f2 (diff)
downloadfocaccia-qemu-fbfb6a37a34fc08f4ff0e5e1e5aab63650af5ed4.tar.gz
focaccia-qemu-fbfb6a37a34fc08f4ff0e5e1e5aab63650af5ed4.zip
python/aqmp: add error classes
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20210915162955.333025-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/aqmp/__init__.py')
-rw-r--r--python/qemu/aqmp/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/qemu/aqmp/__init__.py b/python/qemu/aqmp/__init__.py
index 391141c948..c97be950bf 100644
--- a/python/qemu/aqmp/__init__.py
+++ b/python/qemu/aqmp/__init__.py
@@ -21,7 +21,11 @@ managing QMP events.
 # This work is licensed under the terms of the GNU GPL, version 2.  See
 # the COPYING file in the top-level directory.
 
+from .error import AQMPError
+
 
 # The order of these fields impact the Sphinx documentation order.
 __all__ = (
+    # Exceptions
+    'AQMPError',
 )