Handling of errors is weird
Opened this issue · 0 comments
fpgaminer commented
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.