Skip to content

ConcurrentInvocationError

Defined in: src/errors.ts:102

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:108

Creates a new ConcurrentInvocationError.

ParameterTypeDescription
messagestringError message describing the concurrent invocation attempt

ConcurrentInvocationError

Error.constructor