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

Improve Error Handling #27

Closed
cholcombe973 opened this issue Aug 1, 2018 · 1 comment
Closed

Improve Error Handling #27

cholcombe973 opened this issue Aug 1, 2018 · 1 comment

Comments

@cholcombe973
Copy link
Collaborator

The error handling in bynar could be improved. A lot of the errors are converted to String which sometimes loses information about what the actual error is. There are a few options that could improve the situation:

  1. https://rust-lang-nursery.github.io/error-chain/error_chain/index.html
  2. https://boats.gitlab.io/failure/fail.html ( which might be better I heard )
  3. https://github.com/rushmorem/derive-error ( which looks to be about what i'd do manually) This could be the easiest option if it works.
@cholcombe973
Copy link
Collaborator Author

Fixed in #33

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

No branches or pull requests

1 participant