-
Notifications
You must be signed in to change notification settings - Fork 27
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
Improve error handling #12
Comments
https://docs.rs/error-stack in combination with |
If possible it'd be nice to attach the |
Upstream issue: dtolnay/syn#1239 |
Currently
syn-rsx
hardcodes error strings, which might not fit into what consumers expect. Also some errors lack context information to allow consumers to properly show errors. It'd probably be more elegant to instead have a customError
with sensible context information (some sort of Enum) and an usefulSpan
, maybe if possible with some default error strings as convenience fallback.The text was updated successfully, but these errors were encountered: