python-compute/computelib/exceptions.py

23 lines
569 B
Python
Raw Normal View History

2023-09-02 00:52:28 +03:00
class ConfigLoaderError(Exception):
"""Bad config file syntax, unreachable file or bad config schema."""
2023-09-23 21:24:56 +03:00
2023-09-02 00:52:28 +03:00
class LibvirtSessionError(Exception):
"""Something went wrong while connecting to libvirtd."""
class VMError(Exception):
"""Something went wrong while interacting with the domain."""
class VMNotFound(VMError):
"""Virtual machine not found on node."""
class GuestAgentError(Exception):
"""Mostly QEMU Guest Agent is not responding."""
class StoragePoolError(Exception):
"""Something went wrong when operating with storage pool."""