nibcq.errors.EloadParameterError ================================ .. py:exception:: nibcq.errors.EloadParameterError(message: str = 'Current limit or measurement record length not configured successfully.') Bases: :py:obj:`BCQError` Exception raised when there is an issue with Eload parameters. This error occurs when the Eload parameters are invalid or incompatible with the test requirements. :param message: Custom error message. Defaults to a standard message. :type message: str, optional .. rubric:: Example The following are examples of how this error can be raised: - **General parameter issue** >>> raise EloadParameterError( >>> "Current limit or measurement record length not configured successfully." >>> ) - **Current limit exceeded** >>> raise EloadParameterError( >>> f"Current limit {current_limit} A exceeds the allowed maximum of {max_current} A." >>> ) - **Invalid measurement record length** >>> raise EloadParameterError( >>> f"Measurement record length {record_length} is invalid for the selected mode." >>> )