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

Function returns_err

crates/execution/flashblocks/src/error.rs:280–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278 }
279
280 fn returns_err() -> Result<u32> {
281 Err(ExecutionError::GasOverflow.into())
282 }
283
284 assert!(returns_ok().is_ok());
285 assert_eq!(returns_ok().unwrap(), 42);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected