errors.fyi community error code reference
StopIteration

StopIteration

python

StopIteration

Raised by the built-in next() and by an iterator's __next__() method to signal that there are no further items. Propagation out of a generator function is converted to a return.

References

ruby

StopIteration

Raised to signal that an external iterator has no more elements. Caught by Kernel#loop to terminate the loop cleanly.

References

← all namespaces