Skip to content

RunErrorHandlers

type RunErrorHandlers<TContext, TAgent> = Partial<Record<RunErrorKind, RunErrorHandler<TContext, TAgent>>> & object;
optional default: RunErrorHandler<TContext, TAgent>;

Fallback handler for supported error kinds.

Type Parameter

TContext

TAgent extends Agent<any, any>