Returns the exception describing the task failure, if any.
The exception, or null if the task did not fail.