onCompletedExceptionally

protected open fun onCompletedExceptionally(
    exception: Throwable
): Unit
(source)

This function is invoked once when job is completed exceptionally with the specified exception.