Re: exceptions instead of errors

From: Date: Sun, 11 May 2003 15:15:13 +0000
Subject: Re: exceptions instead of errors
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-1441@lists.php.net to get a copy of this message
At 17:00 11.05.2003, Zeev Suraski wrote:
At 17:37 11/05/2003, Marcus Börger wrote:
Yes to me, too! I'll change my error2exception thingie to reflect your idea.
What do you have in mind? Sterling's description was actually one of the original reasons for introducing exceptions into PHP, at least from my point of view. But it's not very clear how exactly it can actually be implemented, because what we're dealing with here are warnings, not errors. There are probably ways to address this, but it's not trivial and should be discussed.
I'll implement a derived exception class as described and make my error2exception stuff use that exception as default instead of using the excetopn base class as adefault. marcus

« previous php.internals (#1441) next »