Called when the task fails with an error.
the error details, or null if no details are available
null