OnRunErrorCallback

Callback executed when an unhandled error escapes an ADK runner run.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val name: String

The name of this callback, used for tracing and logging.

Functions

Link copied to clipboard
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.