onError

abstract fun onError(e: Exception)

Called when an API call fails

Parameters

e

The exception that occurred