Re: Exception handling changes redux
Jonathan Swartz <[email protected]> Sat, 12 May 2007 21:36:38 -0700
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On May 12, 2007, at 2:12 PM, Dave Rolsky wrote: > On Sat, 12 May 2007, Jonathan Swartz wrote: > >>> That name might be a bit confusing too. This isn't a general >>> runtime thing, >>> it's specific to the compilation & execution of components. Maybe >>> "component_error_handler"? >>> >> >> Doesn't it affect anything called from components as well, that >> is, anything >> down the stack from the initial interp exec()? In that case, >> component_error_handler seems more confusing. > > Well, it's errors that happen when running a component, regardless of > source. It makes sense to me, but I'm open to better names. I think > tha > name should end in "handler", since that is a common name for sub > reference like this. Ok, why don't we compromise on "runtime_error_handler". :) This *is* a general runtime thing, in that any runtime error that occurs within a Mason request will be affected by it. Mason components can call subroutines and methods to get data, etc., and errors that occur there will be affected by this. Jon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/