Enhanced Error Handling in Chunk Compression Functions

  • The compression function has been updated to return an error code upon failure.
  • The returned value can now be checked for errors using the cmp_is_error() function.
  • Retrieve the specific error code with the cmp_get_error_code() function.
  • Error handling now includes descriptive strings for each error code.
  • Note: compress_chunk_set_model_id_and_counter() will return dst_size on success instead of 0.

Merge request reports

Loading