OnFailureListener

interface OnFailureListener


Listener called when a Task fails with an exception.

Summary

Public functions

Unit

Called when the Task fails with an exception.

Public functions

onFailure

fun onFailure(e: Exception): Unit

Called when the Task fails with an exception.

Parameters
e: Exception

the exception that caused the Task to fail. Never null