Re:Rust: The Error Handling Project Group
by masklinn on Saturday September 19, 2020 @06:55AM
(#24526556)
Also `anyhow` exists specifically to support that use-case: you're developing an application and you largely just want to bubble up errors and show them to the user, with the odd spot of internal handling.
If you don’t want to handle Results, just ? all the way up and out of main. Then come back and deal with them as necessary when you’re ready.
It’s far nicer than dealing with exceptions.