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