on Exception
abstract fun onException(exception: Consumer<Throwable>): ProgressToken<T>
Content copied to clipboard
Adds a new consumer to the progressToken which gets called if the the progress fails with an exception.
Return
This instance.
Parameters
exception