def __str__(self):
        s = self.prev_error.failures + '\n' if self.prev_error else ''

        s += '%s' % self.message
        if self.args[1:]:
            s += ' %s' % str(self.args[1:])

        for task in self.tasktrace:
            s += '\n  in %s %s' % (task.task.__name__, task.name)
        return s
Newline-separated text with all failed tasks and all previous errors.
dataset/ETHPy150Open SpockBotMC/SpockBot/spockbot/plugins/tools/task.py/TaskFailed.__str__