Home
last modified time | relevance | path

Searched refs:ErrorWithSource (Results 1 – 1 of 1) sorted by relevance

/wasmtime-44.0.1/crates/core/tests/
H A Dtests.rs857 struct ErrorWithSource(String, Box<dyn core::error::Error + Send + Sync + 'static>); in chain_with_leaf_sources() struct
859 impl fmt::Display for ErrorWithSource { in chain_with_leaf_sources() implementation
865 impl core::error::Error for ErrorWithSource { in chain_with_leaf_sources() implementation
871 let error = Error::new(ErrorWithSource("leaf".to_string(), Box::new(TestError(42)))) in chain_with_leaf_sources()