Add new exception types to the decompressor/compressor.
Why are the changes needed?
The current implementation of the compressor/decompressor uses a variety of std::exception types, which can perplex users. We can enhance users' debugging efficiency by adopting a unified exception class.
How was this patch tested?
The tests in TestWriter.cc can cover this patch.
Was this patch authored or co-authored using generative AI tooling?
What changes were proposed in this pull request?
Add new exception types to the decompressor/compressor.
Why are the changes needed?
The current implementation of the compressor/decompressor uses a variety of std::exception types, which can perplex users. We can enhance users' debugging efficiency by adopting a unified exception class.
How was this patch tested?
The tests in TestWriter.cc can cover this patch.
Was this patch authored or co-authored using generative AI tooling?
NO