Skip to content

ConcurrentInvocationError

Defined in: src/errors.ts:103

Error thrown when attempting to invoke an agent that is already processing an invocation.

This error indicates that invoke() or stream() was called while the agent is already executing. Agents can only process one invocation at a time to prevent state corruption.

  • Error
new ConcurrentInvocationError(message): ConcurrentInvocationError;

Defined in: src/errors.ts:109

Creates a new ConcurrentInvocationError.

ParameterTypeDescription
messagestringError message describing the concurrent invocation attempt

ConcurrentInvocationError

Error.constructor