Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-executor / server / updateToFailed

Function: updateToFailed()

updateToFailed(executionId, errorMessage): Promise<void>

Defined in: packages/chaingraph-executor/server/dbos/steps/UpdateStatusStep.ts:77

Update execution status to "failed" This is the final checkpoint on failure

Parameters

executionId

string

errorMessage

string

Returns

Promise<void>

Licensed under BUSL-1.1