-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Discussion] Add solid Error messages #14
Comments
It looks like error-chain is quickly becoming the de-facto tool for doing good error handling. In particular, the rust cookbook is pushing it as the way to do error handling in all examples. Would it be a good idea to switch to using Coupling |
Yes, error-chain was already pulled in as a dependency for the build script to 'test out'. I haven't had the time yet to catch up with what error-chain can do, but I've heard a lot of good. So I'm ok to start using it pervasively throughout the code base :) |
Closing this issue due to inactivity. If needed we can discuss this in an new issue. Thanks |
Thanks @Dylan-DPC. I think we should have closed the issue after merging #361. |
When using the cli tool there should be solid error messages explaining exactly what went wrong, if it is a parsing error add line numbers, ...
Non-fatal errors should not cause mdBook to stop. They should be stored and reported at the end.
How can this be done? What would be a good design?
Inspiration
The text was updated successfully, but these errors were encountered: