def METHOD_NAME(stderr):
    new_result = None
    if (
        b"NotCompressibleException" in stderr
        or b"CantPackException" in stderr
        or b"AlreadyPackedException" in stderr
    ):
        stderr = b""
        new_result = 0
    return new_result, stderr