Skip to content

ExploreOutcome

Namespace: E2E

public sealed record ExploreOutcome : IEquatable<ExploreOutcome>

What an exploration ended with. Upstream’s ExploreOutcome, which extends the runner’s RunOutcome.

Inheritance: object

Implements: IEquatable<ExploreOutcome>

View source

ExploreOutcome(RunStatus, int, E2EException?, ReportExplore)

Section titled “ExploreOutcome(RunStatus, int, E2EException?, ReportExplore)”
public ExploreOutcome(RunStatus Status, int ExitCode, E2EException? Error, ReportExplore Explore)

What an exploration ended with. Upstream’s ExploreOutcome, which extends the runner’s RunOutcome.

Parameters

Name Type Description
Status RunStatus How the run ended. An agent step the run could not finish for lack of credentials, environment, or setup is Blocked.
ExitCode int 0 when the exploration reported no issue (warnings do not count), 1 when it reported one or explored nothing, 2 for a configuration or policy error, 3 for an engine, app, or model provider failure.
Error E2EException The error that ended the run, or null for a pass.
Explore ReportExplore What was asked, did, and found.

View source

public E2EException? Error { get; init; }

The error that ended the run, or null for a pass.

Value: E2EException

View source

public int ExitCode { get; init; }

0 when the exploration reported no issue (warnings do not count), 1 when it reported one or explored nothing, 2 for a configuration or policy error, 3 for an engine, app, or model provider failure.

Value: int

View source

public ReportExplore Explore { get; init; }

What was asked, did, and found.

Value: ReportExplore

View source

public RunStatus Status { get; init; }

How the run ended. An agent step the run could not finish for lack of credentials, environment, or setup is Blocked.

Value: RunStatus

View source