본문으로 건너뛰기

Function: interruptItemError()

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

정의 위치: packages/ai/src/interrupt-resume.ts:112

매개변수​

input​

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

interruptId​

string

code​

ItemInterruptErrorCode

message​

string

options?​

path?​

readonly (string | number)[]

retryable?​

boolean

source?​

"server" | "client"

반환값​

InterruptSubmissionError