Skip to main content
Defined in: conversations/retry.ts:90 Control signal thrown by c.retry() inside a flow step (flow().do(), a .choose() then action) when the retried wait belongs to an earlier step. The flow interpreter catches it and replays the flow from that step; code after c.retry() in the step does not run (like c.end() / c.goto()). If you wrap a step body in try/catch, rethrow every ConversationError.

Extends

Constructors

Constructor

Defined in: conversations/retry.ts:97

Parameters

Returns

ConversationRetry

Overrides

ConversationError.constructor

Properties

prompt

Defined in: conversations/retry.ts:98 Message sent instead of the step’s prompt when it is re-run (undefined: re-send the prompt).

flow

Defined in: conversations/retry.ts:99 Flow that owns the target step (internal).

index

Defined in: conversations/retry.ts:100 Step index the flow rewinds to (internal).

attempts

Defined in: conversations/retry.ts:101 Invalid attempts carried into the re-run wait (internal).