in reply to How to determine of script executed correctly?
You might find the replies of Toolic and Moritz to my question about Testing error handling that calls "die" will do what you want.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (423 votes). Check out past polls.