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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ConcurrentInvocationError(message): ConcurrentInvocationError;Defined in: src/errors.ts:108
Creates a new ConcurrentInvocationError.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
message | string | Error message describing the concurrent invocation attempt |
Returns
Section titled “Returns”ConcurrentInvocationError
Overrides
Section titled “Overrides”Error.constructor