Skip to content
Snippets Groups Projects
  • Dominik Loidolt's avatar
    021ff09f
    Enhanced Error Handling in Chunk Compression Functions · 021ff09f
    Dominik Loidolt authored
    - 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.
    021ff09f
    History
    Enhanced Error Handling in Chunk Compression Functions
    Dominik Loidolt authored
    - 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.