# `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 ‘message’ property. That message 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)

this page last updated: 2026-04-24 12:21:41

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug