onRunFailed

open fun onRunFailed(run: ObservedRun, cause: Throwable)

run failed with cause, the exception that the caller of the run gets, or a CancellationException when the run was cancelled.