#[repr(i32)]pub enum ExitCode {
Success = 0,
TestFailure = 1,
UsageError = 2,
ProviderError = 3,
}Expand description
Stable exit codes for the skilltest CLI.
Variants§
Success = 0
Everything ran and every case/eval passed.
TestFailure = 1
The run completed but at least one test case failed its evals, or a skill failed validation. The tool worked; the thing under test did not.
UsageError = 2
Bad usage or bad input: malformed config, malformed test-case YAML, a missing file. The user must fix the input.
ProviderError = 3
The provider command failed: not found, crashed, or returned output that did not satisfy the protocol. The environment must be fixed.
Implementations§
Trait Implementations§
impl Copy for ExitCode
impl Eq for ExitCode
impl StructuralPartialEq for ExitCode
Auto Trait Implementations§
impl Freeze for ExitCode
impl RefUnwindSafe for ExitCode
impl Send for ExitCode
impl Sync for ExitCode
impl Unpin for ExitCode
impl UnsafeUnpin for ExitCode
impl UnwindSafe for ExitCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.