luben / zstd-jni

JNI binding for Zstd
Other
854 stars 168 forks source link

Throw ZstdException when the error is coming from Zstd #226

Closed luben closed 2 years ago

luben commented 2 years ago

Initially we were throwing IOException for most of the errors. This does no make it easy to tell if the problems is with the Zstd encoding or with the underlying IO.

luben commented 2 years ago

@yankeenjg - can you check?