MCPcopy Create free account
hub / github.com/base/base / fallback

Method fallback

acceptance/src/aggregate.rs:297–305  ·  view source on GitHub ↗

Creates a complete nonpassing result when the manifest cannot be trusted.

(message: String)

Source from the content-addressed store, hash-verified

295
296 /// Creates a complete nonpassing result when the manifest cannot be trusted.
297 pub fn fallback(message: String) -> RunResult {
298 RunResult {
299 schema_version: 1,
300 run_id: "aggregate-error".into(),
301 tested_sha: "unknown".into(),
302 started_at_unix_ms: 0,
303 scenarios: vec![Self::error_scenario("aggregate-error", message)],
304 }
305 }
306
307 /// Creates a manifest-bound aggregate error result.
308 pub fn run_error(expected: &ExpectedManifest, message: String) -> RunResult {

Callers 1

Calls

no outgoing calls

Tested by 1