-
Notifications
You must be signed in to change notification settings - Fork 141
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
Implement Error trait for error types #94
Labels
Comments
For the record and FWIW: the error-chain crate has been deprecated. The new de-facto standard for libraries seems to be the thiserror crate. We recently replaced error-chain with thiserror in bat. See sharkdp/bat#1820 |
I'd like to take a shot at this for 5.0.0. |
Enselic
added a commit
to Enselic/syntect
that referenced
this issue
Jan 17, 2022
Also do some minor tweaks to the way errors are represented, and add basic integration tests for errors, to give a feel for how the errors behave. Fixes trishume#94
Enselic
added a commit
to Enselic/syntect
that referenced
this issue
Jan 17, 2022
Also do some minor tweaks to the way errors are represented, and add basic integration tests for errors, to give a feel for how the errors behave. Fixes trishume#94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implementing Rust's canonical
Error
trait would allow errors in syntect to be chained with application-level errors, via error-chain.The text was updated successfully, but these errors were encountered: