nibcq.errors.TestSessionMismatchError

exception nibcq.errors.TestSessionMismatchError(message: str = 'The selected test type is incompatible with the current session configuration.')

Bases: BCQError

Exception raised when there is a mismatch between test type and session configuration.

This error occurs when the selected test type is incompatible with the current session settings.

Parameters:

message (str, optional) – Custom error message. Defaults to a standard message.

Example

>>> raise TestSessionMismatchError(
>>>     "The selected test type is incompatible with the current session configuration."
>>> )