Transforms the test in a serializable version of it and sends it to a queue for further analysis

        :param test: the test to save
        :param exc_info: tuple of the form (Exception class, Exception instance, traceback)

def addError(self, test: unittest.case.TestCase, exc_info: tuple) -> None:
        """
        Transforms the test in a serializable version of it and sends it to a queue for further analysis

        :param test: the test to save
        :param exc_info: tuple of the form (Exception class, Exception instance, traceback)
        """
        # noinspection PyTypeChecker
        self.add_result(TestState.error, test, exc_info)