Skip to content

SessionBusyError

Thrown when session.run() is called while a turn is already in progress.

new SessionBusyError(sessionId): SessionBusyError

string

SessionBusyError

AgentExpressError.constructor

readonly optional cause?: Error

Original error that caused this one, if any.

AgentExpressError.cause


code: string

Machine-readable error code (e.g., “ABORT”, “RATE_LIMIT”, “TOOL_DENIED”).

AgentExpressError.code


readonly retryable: boolean

Whether this error can be retried by retry middleware.

AgentExpressError.retryable


readonly sessionId: string

ID of the busy session.