Skip to content

Commit 809bd7e

Browse files
authored
wasmtime-environ: include common error-handling functionality in prelude (#12211)
1 parent cd4657b commit 809bd7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/environ/src/prelude.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
//!
2020
//! and then `use crate::*` works as usual.
2121
22+
pub use crate::error::{Context, Error, Result, anyhow, bail, ensure};
2223
pub use alloc::borrow::ToOwned;
2324
pub use alloc::boxed::Box;
2425
pub use alloc::format;

0 commit comments

Comments
 (0)