From: Daniel Bretoi Date: 2003-06-21T01:27:39+09:00 Subject: Re: rescuing errors.. catch-all On Fri, Jun 20, 2003 at 09:56:04AM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "rescuing errors.. catch-all" > on 03/06/20, Daniel Bretoi writes: > > |however, I have to specify the error, is there some sort of catch-all > |exception I can use? I tried 'Exception' which catches SystemCallErrors > |as far as I could tell, but I still got Internal Errors (500) > > Exception should catch all errors. But rescue does not help, when you > get error before entering protected region (main, this case), for > example, syntax errors, or even in kicking interpreter. would this seem to be a reasonable feature request to make? it would be very nice to be able to catch everything and be able to do with it what you like, especially with html.