<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _subtask_error(self, idx, error):
 """Receive an error from a single subtask."""

        self.set_exception(error)
        self.errbacks.clear()