pub struct ExitCode(/* private fields */);Expand description
Process exit status of a command.
Reserved ranges: 10..=19 for discovery and diagnostic failures, 20..=29
for run outcomes. Values outside the named constants and those ranges are
not used.
Implementations§
Source§impl ExitCode
impl ExitCode
Sourcepub const NOT_A_PROJECT: Self
pub const NOT_A_PROJECT: Self
No Spec Kit project was found.
Sourcepub const DIAGNOSTICS_ERROR: Self
pub const DIAGNOSTICS_ERROR: Self
The snapshot contains error diagnostics.
Sourcepub const SELECTION_NEEDED: Self
pub const SELECTION_NEEDED: Self
No feature could be selected.
Sourcepub const CONFIG_ERROR: Self
pub const CONFIG_ERROR: Self
speccoder.toml is missing or invalid, or nothing applies.
Sourcepub const GIT_PRECONDITION: Self
pub const GIT_PRECONDITION: Self
A git precondition does not hold (no repository, no commits, uncommitted artifacts).
Sourcepub const TASK_NOT_READY: Self
pub const TASK_NOT_READY: Self
The task is done or blocked by open dependencies.
Sourcepub const VERIFICATION_FAILED: Self
pub const VERIFICATION_FAILED: Self
A check failed or a test regressed.
Sourcepub const NEEDS_HUMAN: Self
pub const NEEDS_HUMAN: Self
The attempt stopped for a person (blocked, approval, budget).
Sourcepub const EVAL_FAILED: Self
pub const EVAL_FAILED: Self
An evaluation found a false completion or a cheat.
Sourcepub const NOT_REPLAYABLE: Self
pub const NOT_REPLAYABLE: Self
The recorded run cannot be re-derived by this build (not a divergence).
Sourcepub const ATTESTATION_FAILED: Self
pub const ATTESTATION_FAILED: Self
attest verify found an attestation that does not hold.
Sourcepub const RUN_FAILED: Self
pub const RUN_FAILED: Self
The model call or the run failed.
Sourcepub const REPLAY_DIVERGED: Self
pub const REPLAY_DIVERGED: Self
Strict replay did not reproduce the recorded run.
Trait Implementations§
impl Copy for ExitCode
impl Eq for ExitCode
Source§impl JsonSchema for ExitCode
impl JsonSchema for ExitCode
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more