in reply to Die vs. Exit

In addition to the previous post: Tk::Error is called there. You can catch some errors using this method.
Sorry if my advice was wrong.