Re: [PATCH 19/20] python/qemu/qmp.py: Straighten out exception hierarchy

2020-10-07 Thread Kevin Wolf
Am 07.10.2020 um 01:58 hat John Snow geschrieben: > Be a little more rigorous about which exception we use, and when. > Primarily, this makes QMPCapabilitiesError an extension of > QMPprotocolError. > > The family of errors: > > QMPError (generic base) > QMPConnectError (For connection issues)

[PATCH 19/20] python/qemu/qmp.py: Straighten out exception hierarchy

2020-10-06 Thread John Snow
Be a little more rigorous about which exception we use, and when. Primarily, this makes QMPCapabilitiesError an extension of QMPprotocolError. The family of errors: QMPError (generic base) QMPConnectError (For connection issues) QMPTimeoutError (when waiting for an event expires) QMPProtoco