onError

abstract fun onError(throwable: Throwable)

Invoked when there is any error in the ongoing task. The metrics tool can use this information to attach to the ongoing transaction.

Parameters

throwable

Exception thrown in the running task.