From: Christian Szegedy Date: 2001-12-07T00:53:10+09:00 Subject: [ruby-talk:27702] Re: Controlling the error messages of eval. Phlip wrote: > > More important style wise, if I were your programmer-user, I want my system > to drop dead at the first error. If it "recovers" and continues I might not > notice the error message, because it might be high above a console full of > output. You are completely right, initially, I tried to use rescue for reporting the exact place of the error. Now it became unnecessary. However, it maybe useful to output all errors at once, so that one can elimiate a lot of errors at once instead of starting it over and over again. In this case, I should count the errors and throw an exception at the end if this counter is not zero. There are other cases, when an error-recovery is necessary and one would not like to exit the whole process if one piece of customization script has a syntax error. Best regards, Christian