[limb-issues] Created: (CRE-8) Error handlers

Pavel Shevaev (JIRA) jira at limb-project.com
Mon Apr 23 14:00:05 MSD 2007


Error handlers
--------------

                 Key: CRE-8
                 URL: http://jira.limb-project.com/browse/CRE-8
             Project: CORE
          Issue Type: New Feature
            Reporter: Pavel Shevaev


We need general error handler mechanism for all framework. Currently we only have lmbUncaughtExceptionHandlingFilter in WEB_APP package which is responsible for errors handling and pretty printing. I think it makes sense to create a more general mechanism of error handling in CORE package and use it in lmbUncaughtExceptionHandlingFilter. 

One of the most need features is being able to gracefully handle fatal errors as well as exceptions in PHP. This seems to be possible via register_shutdown_function and error_get_last(available since PHP-5.2). Uncaught wxceptions should be caught through more general set_exception_handler . This way  lmbUncaughtExceptionHandlingFilter will register its own error pretty printers while the error handling will be done by CORE package.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.limb-project.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the limb-issues mailing list