How to use errors with iterator functions in Go Sep 08, 2024The new function iterators in Go 1.23 have no means for returning an error. But what if the iterator function may fail?