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? - Ian ------------------------------------------------------------------------- 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