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 and utility #100

Merged
merged 5 commits into from
Oct 16, 2024
Merged

improve error handling and utility #100

merged 5 commits into from
Oct 16, 2024

Conversation

mcroomp
Copy link
Collaborator

@mcroomp mcroomp commented Oct 16, 2024

Improved the way that errors are cast and handled so that we receive better error information from the outside interfaces as to why compression is failing.

Made utility only call public library functions so that we make sure the utility actually tests the library. Moved dump code into library.

Added a couple more unique enums for certain common error cases.

@mcroomp mcroomp requested a review from Melirius October 16, 2024 09:23
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
@Melirius
Copy link
Collaborator

Otherwise LGTM. Thanks!

@mcroomp
Copy link
Collaborator Author

mcroomp commented Oct 16, 2024

Otherwise LGTM. Thanks!

Feel free to approve :)

@mcroomp mcroomp merged commit 2a446f4 into main Oct 16, 2024
3 checks passed
@mcroomp mcroomp deleted the improveerror branch October 16, 2024 18:23
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

Successfully merging this pull request may close these issues.

2 participants