Hi,
In message "[ruby-talk:01809] TK and exceptions"
on 00/03/13, Dave Thomas <Dave / thomases.com> writes:
|I have a TkButton, which calls a method when pressed. That method
|throws an exception, using
|
| raise "wombat"
|
|I get a Tk popup saying
|
| tk.rb:535: in '_invoke' bad window path name 'wombat'
Because Tk class overrides `raise' method, use `fail' instead.