跳转到内容

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>