exception – Exceptions
Exceptions for the Brick library.
-
class os_brick.exception.BrickException(message=None, **kwargs)
Base Brick Exception
To correctly use this class, inherit from it and define
a ‘msg_fmt’ property. That msg_fmt will get printf’d
with the keyword arguments provided to the constructor.
-
class os_brick.exception.NotFound(message=None, **kwargs)
-
class os_brick.exception.Invalid(message=None, **kwargs)
-
class os_brick.exception.InvalidParameterValue(message=None, **kwargs)
-
class os_brick.exception.NoFibreChannelHostsFound(message=None, **kwargs)
-
class os_brick.exception.NoFibreChannelVolumeDeviceFound(message=None, **kwargs)
-
class os_brick.exception.VolumeDeviceNotFound(message=None, **kwargs)
-
class os_brick.exception.ProtocolNotSupported(message=None, **kwargs)