Add global error message while preserve default behavior #206
Unanswered
thewh1teagle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have the following program:
Which prints the following error by default:
I would like to add global context to every error that may happen so it will looks exactly like:
I tried to use eyre/examples/custom_handler.rs but it doesn't include the location of the error.
Beta Was this translation helpful? Give feedback.
All reactions