`BrowseIterator` helper: make sure the iteration stops in case of error
`BrowseIterator` helper: make sure the iteration stops in case of error

This was already the case in practice, because the cursor is absent from the API’s response in case of error, but we must not rely on that behavior.

algoliareadmebot/algoliasearch-client-swift,algoliareadmebot/algoliasearch-client-swift,algolia/algoliasearch-client-swift,algolia/algoliasearch-client-swift,algoliareadmebot/algoliasearch-client-swift