while (condition) { ... if (condition) { print "Error message\n"; next; } long block of code }