generators::internal0::generate() exception handling improvement.