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

Handling of errors is weird #1

Open
fpgaminer opened this issue Feb 8, 2016 · 0 comments
Open

Handling of errors is weird #1

fpgaminer opened this issue Feb 8, 2016 · 0 comments

Comments

@fpgaminer
Copy link
Owner

Some parts of the library return Result with an LZMAError, which is good, but the parts of the library that implement the Read and Write traits have to return io::Result. They take any LZMAError errors that arise and squish them into an io::Error. This makes handling those errors outside of the library challenging.

Need to find a better solution.

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