Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(storage): clarify ObjectIterator error case (#2844)
If ObjectIterator.Next returns any error, subsequent calls will continue to return the error. See https://github.com/googleapis/google-api-go-client/blob/d63bd5fbc004a083dc85ef622366115e8088da62/iterator/iterator.go#L106 This was a source of customer confusion recently, so I added some clarity to the docs, as well as a suggestion for how to address errors in a long-running iteration.
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters