Announcing `Eyre` the error handling crate I've been writing and rewriting for the last month or two. https://github.com/yaahc/eyre Key things to know about Eyre: * It's fork of `anyhow` * Renames Error to ErrReport * Renames Context to WrapErr * Adds a Context generic param + Trait
-
Show this thread
-
The default Context for eyre is just a Backtrace, the magic is when you provide your own. https://github.com/yaahc/jane-eyre is an example of a crate that overrides the Context parameter of eyre to insert a custom context with a `Backtrace`, `SpanTrace`, and a `Vec<Help>` for help msgs.
1 reply 0 retweets 19 likesShow this thread -
My goal with eyre is not to replace anyhow, but to add new ideas to the ecosystem that hopefully make their way back into anyhow or in future crates like anyhow. So please, take a look, think about it, and let me know any feedback you have.
2 replies 0 retweets 21 likesShow this thread
Replying to @yaahc_
Thanks! I hope to use this soon.
5:02 PM - 4 Mar 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.