Hi.

I'm using PHP 5 most of my error handling is done through exceptions.
If i have some uncaught exception PHP's default exception handler is
ugly and not at all similiar to my site's design. I can define a
default exception handler with set_exception_handler() and although i
can make some customizations i still can't access Cake's structure. 

What i would like to do is to define a default exception handler
Cake-style, i.e., something like $exceptionHandler =
array('controller'=>'somecontroller', 'action'=>'someaction') and any
uncaught exception would be handled by the specified controller and that
would seamlessly integrate all error handling with Cake.

What do you guys think? Is this reasonable? Can i accomplish this some
other way? Should i create a ticket?

Thanks in advance.

-- 
Gonçalo Marrafa <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to