Skip to content
PACKAGES

fakeExecutorFailure()

Creates a fake executor failure.

import { fakeExecutorFailure } from "@graphrefly/ts/orchestration";
function fakeExecutorFailure(opts: Omit<ExecutorOutcomeBase, "kind"> & {
readonly error: DataIssue;
readonly retryable?: boolean;
}): ExecutorOutcome
ParameterTypeDescription
optsOmit<ExecutorOutcomeBase, "kind"> & { readonly error: DataIssue; readonly retryable?: boolean; }Options that configure the helper.

The fake executor failure result.

import { fakeExecutorFailure } from "@graphrefly/ts/orchestration";

packages/ts/src/orchestration/agent-runtime-fakes.ts