Skip to content

createFailedHarnessRun

createFailedHarnessRun(input, error, options?): HarnessRun

Builds a JSON-safe failed run for errors that happen before a harness can return.

unknown

Original input passed to the harness.

unknown

Error thrown by setup or execution.

Optional artifacts to preserve on the failed run.

Record<string, JsonValue>

HarnessRun