跳转到内容

RunErrorHandlers

此内容尚不支持你的语言。

type RunErrorHandlers<TContext, TAgent> = Partial<Record<RunErrorKind, RunErrorHandler<TContext, TAgent>>> & object;
Type Parameter

TContext

TAgent extends Agent<any, any>

default?: RunErrorHandler<TContext, TAgent>;

Fallback handler for supported error kinds.