MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / from

Method from

runtime/src/error.rs:33–35  ·  view source on GitHub ↗
(error: anyhow::Error)

Source from the content-addressed store, hash-verified

31
32impl From<anyhow::Error> for RuntimeError {
33 fn from(error: anyhow::Error) -> Self {
34 RuntimeError::WasmtimeError(error.to_string())
35 }
36}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected