-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
CompStatus::OTHER
and use exception for error management.
`CompStatus::OTHER` is not really used and is mainly used as a error code (if used). Let's remove it and directly throw a exception instead of returning it. This commit make the ZSTD/LZMA error correctly handled (at least not silently ignored) during (de)compression. See kiwix/libkiwix#515
- Loading branch information
1 parent
a5c4bc3
commit a7201ce
Showing
3 changed files
with
75 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters