It depends on the task that runs. I tried to test some error handeling in a scheduled task and to produce an error I xcopied a file that doesn't exist. It produces exactly the error that you get....