Skip to main content

capture_failure

Function capture_failure 

Source
pub fn capture_failure(
    entry: &str,
    source: &str,
    seed: u64,
    args: &[String],
) -> Option<ReplayBundle>
Expand description

Run source (entry file named entry) under seed with args; if the run fails, capture the complete artifact. None when the program succeeds — recording costs nothing until the moment of failure (D0.4).