handleThrowable

abstract fun handleThrowable(@NonNull throwable: Throwable)

Handle a throwable.

This method is called if an error or an exception is thrown when the observer is notified or when notifying the observer fails. It is called also when the observer's actions triggers an error or an exception.

Parameters

throwable

The throwable that needs to be handled.