nibcq.errors.BCQError ===================== .. py:exception:: nibcq.errors.BCQError(code: int, message: str) Bases: :py:obj:`Exception` Base class for all custom exceptions in the nibcq module. :param code: The error code. :type code: int :param message: Human-readable error message. :type message: str .. note:: Prefer using a specific BCQ error subclass if available. Use this base class only for general or uncategorized BCQ errors. .. rubric:: Example >>> raise BCQError(5004, "SMU Channels were not provided in ascending order.")