addOnFailureListener

fun <TResult> <ERROR CLASS><TResult>.addOnFailureListener(executor: Executor, listener: (Exception) -> Unit): <ERROR CLASS><TResult>

Quality-of-life helper to allow using trailing lambda syntax for adding a failure listener to a Task.