call

abstract suspend fun call(invocationContext: InvocationContext, error: Throwable)

Invoked when the run failed, before the error is re-raised to the caller. Notification-only: the error always propagates regardless of what this callback does.

Parameters

invocationContext

The context for the entire invocation.

error

The error that escaped the run.