Skip to content
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

Move to a more scalable errors implementation #9

Open
mp4096 opened this issue Apr 28, 2017 · 1 comment
Open

Move to a more scalable errors implementation #9

mp4096 opened this issue Apr 28, 2017 · 1 comment

Comments

@mp4096
Copy link
Owner

mp4096 commented Apr 28, 2017

The current errors implementation is hand-written, with half-hearted conversions and formatting implementations. If we want to add more features to indentex, we should find a scalable, boilerplate-free method of error handling.

A quick search on crates.io reveals two primary candidates:

Both contestants have a lot of dependent crates, e.g. handlebars uses quick-chain, tera uses error-chain.

I'm not sure which one to use, however I intuitively tend to error-chain.

@mp4096
Copy link
Owner Author

mp4096 commented Sep 30, 2017

error-chain has been moved to rust-lang-nursery, so this is kind of a serious 👍 for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant