fakeExecutorFailure()
Creates a fake executor failure.
Import
Section titled “Import”import { fakeExecutorFailure } from "@graphrefly/ts/orchestration";Signature
Section titled “Signature”function fakeExecutorFailure(opts: Omit<ExecutorOutcomeBase, "kind"> & { readonly error: DataIssue; readonly retryable?: boolean; }): ExecutorOutcomeParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | Omit<ExecutorOutcomeBase, "kind"> & { readonly error: DataIssue; readonly retryable?: boolean; } | Options that configure the helper. |
Returns
Section titled “Returns”The fake executor failure result.
Example
Section titled “Example”import { fakeExecutorFailure } from "@graphrefly/ts/orchestration";Source
Section titled “Source”packages/ts/src/orchestration/agent-runtime-fakes.ts