anyhow is brilliant. I've started using it in all my CLI programs and internal libraries for which structured errors aren't important. It's really lovely and pleasant to use. It's the first error helper library I've used more than once. https://docs.rs/anyhow
-
-
Replying to @burntsushi5
I remember time when
@burntsushi5 recommended to use Error trait over error crates. Back then it was hard to me to accept that since the trait was cumbersome. Now when error trait got simplified and I finally feel comfortable using it@burntsushi5 praises an error crate. :)2 replies 0 retweets 0 likes
Replying to @MrXliiv
The error trait simplifications don't really do much. The only thing you don't need to write now is the description method. But you never really needed it in the first place. :) cause was deprecated, but it was replaced with source.
12:32 PM - 1 Apr 2020
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.