Function rspack_error::catch_unwind

source ยท
pub fn catch_unwind<R>(f: impl FnOnce() -> R) -> Result<R>