mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #990] Make all library exceptions inherit from SharpCompressException #1411
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/990
State: closed
Merged: Yes
Summary:
Successfully implemented library-wise exception type hierarchy. All SharpCompress exceptions now inherit from
SharpCompressException, allowing users to catch library-specific exceptions without masking unrelated errors.Changes made:
DataErrorException(LZMA) - now inherits fromSharpCompressExceptionInvalidParamException(LZMA) - now inherits fromSharpCompressExceptionXZIndexMarkerReachedException(XZ) - now inherits fromSharpCompressExceptionTesting:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.