1 2 3 4 5 6 7
use exception::pack; fn main(){ if let Err(e) = std::fs::File::open("path") { panic!("{}", pack!(e)); } }