onError

open fun onError(throwable: Throwable)

Called when an error occurred. By default, this method throws the incoming exception. Override to implement error handling.

Throws