AgentErrorMiddleware
AgentErrorMiddleware<
ContentTypes> = (error,ctx,next) =>Promise<void> |void
Defined in: sdks/js/agent-sdk/src/core/Agent.ts:159
Handles an error and calls next with no argument to resume processing.
Type Parameters
Section titled “Type Parameters”ContentTypes
Section titled “ContentTypes”ContentTypes = unknown
Parameters
Section titled “Parameters”unknown
AgentErrorContext<ContentTypes>
(err?) => Promise<void> | void
Returns
Section titled “Returns”Promise<void> | void

