Hi I\'m currently reading The Rust Programming Language book. In error handling chapter I found this code works well: