Re: [PHP.next] Error-handling using "Error Events"
>
> unless you change every piece of code to use
> individual exception class - which is a huge chunk of work and goes way
> beyond ini setting
That's just it. I know a lot of PHP developers who believe that's the
ideal way to go about it; that everything should be funneled through a
massive custom exception class(es). Those people would build their code
around that from the ground-up, anyway. As I mentioned earlier, a likely
example of this would be someone developing a new framework and they want
to control all error handling through there.
I'm not sure if I would take that approach on a given project, myself, but
I know a lot of people who would and I can see something like this being
very useful to them for their purposes.
--Kris
Thread (13 messages)