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.
Non-existent; I don't have TV
Non-existent; my TV doesn't have/need a remote
Under my control; I watch alone
Under the control of whoever shouts loudest
Under the control of whoever gets it first
One of many, and the TV has a mind of its own
Results (596 votes),