Function magnus::exception::stop_iteration
source · pub fn stop_iteration() -> ExceptionClass
Expand description
Return Ruby’s StopIteration
class.
§Panics
Panics if called from a non-Ruby thread. See
Ruby::exception_stop_iteration
for the non-panicking version.