onError

fun onError(callback: ErrorListener): Task<T>

Adds error catching callback to current Task