onErrorNotification

protected open fun onErrorNotification(t: Throwable): Notification?

Called when an error happens

You can override this method to customize the notification.

Parameters

t

the throwable that was thrown