How do i output my error message when a file im trying to open is not found instead of "Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }"
use std::fs::File;
fn main() -> std::io::Result<()>{
let mut file = File::open("foo.txt")?;
Ok(())
}