-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add anyhow/eyre interop example #123
Comments
Oh nono, what this means is that you can swap your |
Yes, maybe something like:
? |
I am happy do a PR – i.e. change the Just to clarify – what I understand:
Correct? |
that's correct! |
So, spent a bit of time on this (#124) – such a nice crate deserves polished docs. 🤩 |
Btw., is the 1st sentence of the |
it's a reference to this tweet: https://twitter.com/TriciaLockwood/status/1108102037072433153 |
The docs state that
Report
is an "anyhow
/eyre
-compatible error wrapper type" I couldn't find any example showing how this works.I expected to be able to call
into_diagnostic()
onanyhow::Error
after reading this but this doesn't work.An example would be highly appreciated – maybe add one for
eyre
too, while at it. Cheers!The text was updated successfully, but these errors were encountered: