On Sat, 26 May 2007, Ian Burrell wrote: > Would anyone be interested in a sub-class of HTML::Mason::Request that > calls an optional error_sub subref on fatal errors? That is what I > ended up writing to handle our custom error handling. Our live site > displays a simple page to the users and send the developers the error > message. The sub-class adds error_sub slot. It calls the subref if > the error_mode is 'fatal' and the error_sub exists. If people were > interested, I could turn it into a MasonX class on CPAN. > Would that functionality make sense in the base-class?
It sounds like something I'll be interested in a few months from now. I'd be glad to see it available. :) --------------------------------------------------------------------- | Name: Tim Nelson | Because the Creator is, | | E-mail: [EMAIL PROTECTED] | I am | --------------------------------------------------------------------- ----BEGIN GEEK CODE BLOCK---- Version 3.12 GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y- -----END GEEK CODE BLOCK----- ------------------------------------------------------------------------- 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/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users