if task_error is not None and on_error is not None:
        callback_result = on_error[FN](task_error)
        if on_error[UPDATES_RESULT] is True:
            task_result = callback_result