Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

interruptItemError.md

51 lines856 Bytes

function interruptItemError(
   input, 
   interruptId, 
   code, 
   message, 
   options?): InterruptSubmissionError;

Defined in: packages/ai/src/interrupt-resume.ts:140

Parameters

input

Pick<ValidateInterruptResumeBatchInput, "threadId" | "interruptedRunId" | "generation">

interruptId

string

code

ItemInterruptErrorCode

message

string

options?

path?

readonly (string | number)[]

retryable?

boolean

source?

"server" | "client"

Returns

InterruptSubmissionError