nibcq.errors.HardwareIncompatibilityError ========================================= .. py:exception:: nibcq.errors.HardwareIncompatibilityError(message: str = 'The current given model is incompatible with the Cell Quality Toolkit.') Bases: :py:obj:`BCQError` Exception raised when there is a hardware incompatibility issue. :param message: Custom error message. Defaults to a standard message. :type message: str, optional .. rubric:: Examples The following are examples of how this error can be raised: - **General incompatibility** *(unknown or unsupported model)* >>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported by the Cell Quality Toolkit." >>> ) - **Specific: DCIR measurement** *(Eload required)* >>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported for DCIR measurement. >>> Supported models: {Device.SUPPORTED_ELOAD_LIST}" >>> ) - **Specific: EIS/ACIR measurement** *(SMU required)* >>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported for EIS/ACIR measurement. >>> Supported models: {Device.SUPPORTED_SMU_LIST}" >>> ) - **Specific: OCV measurement** *(DMM required)* >>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported for OCV measurement. >>> Supported models: {Device.SUPPORTED_DMM_LIST}" >>> )