News for hackers. Stuff that matters.
Re:Rust: The Error Handling Project Group by imron on Saturday September 19, 2020 @05:34AM (#24526258)
> but is there another way to express this idiom in Rust?

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.

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.