Personally I prefer today's approach vs. a more complex chaining solution.
It only requires an additional if() in your error handler to handle different error codes differently.


At 10:07 PM 9/13/2004 -0700, Sara Golemon wrote:
> Having it trickle back through the stack would make sense to me too.
>
http://pecl.org/sara/error_chaining.diff

Here's the basic idea of what I had in mind.

This patch is actually not the way I'd like to see it implemented, but
rather the most expedient demonstration as it doesn't involve seriously
changing the way error handlers are registered and stored.  And anyway, it's
functional.

-Sara


-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to