extern crate strerror; use strerror::raw_message; fn main() { stdout.write_all(b"meow\n").unwrap_or_else(|e| { eprintln!("{}", raw_message(e)); std::process::exit(1); }); }