TanStack

interruptItemError

Function: interruptItemError()

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

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

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