OnRunErrorCallback

Callback executed when an ADK runner run fails.

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 fails, before the error is re-raised. Also invoked when afterRun fails after an early stop; that failure is re-raised only if it is an Error. Notification-only: what this callback does never changes whether the error propagates.