Changed panic message in generator's Next method.