Skip to content

AuraTurnTimeoutError

Thrown when a AuraClient.chat wait elapses.

The turn keeps running server-side; the timeout does not cancel it. Pass conversationId to AuraClient.cancel to stop it, or keep polling with AuraClient.getConversationState.

Raised only after the server has been asked directly and said the turn is still running, so it never stands in for a reply that had already landed.

new AuraTurnTimeoutError(
message,
timeoutMs,
conversationId?,
partialContent?,
projectId?): AuraTurnTimeoutError;
Parameter Type
message string
timeoutMs number
conversationId? string
partialContent? string
projectId? string

AuraTurnTimeoutError

AuraError.constructor

Property Modifier Type Description
conversationId readonly string | undefined The conversation whose turn is still running.
partialContent readonly string | undefined Whatever the turn had streamed when the wait ran out; unset if nothing had.
projectId readonly string | undefined The project whose turn is still running; cancel takes both ids.
timeoutMs readonly number The wait, in milliseconds, that elapsed.