exception – Exceptions¶Exceptions for the Brick library.
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.
os_brick.exception.NotFound(message=None, **kwargs)¶os_brick.exception.Invalid(message=None, **kwargs)¶os_brick.exception.InvalidParameterValue(message=None, **kwargs)¶os_brick.exception.NoFibreChannelHostsFound(message=None, **kwargs)¶os_brick.exception.NoFibreChannelVolumeDeviceFound(message=None, **kwargs)¶os_brick.exception.VolumeDeviceNotFound(message=None, **kwargs)¶os_brick.exception.ProtocolNotSupported(message=None, **kwargs)¶ 
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.