Another serious bug in error handling

From: Date: Mon, 08 Mar 2004 09:55:37 +0000
Subject: Another serious bug in error handling
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26195@lists.php.net to get a copy of this message
Hi! I posted another error handling related bug at: http://pear.php.net/bugs/bug.php?id=949 It faces the problem that raising an error from an existing error object isn't safe due to fact that some classes that extend PEAR_Error offer a constructor with a different signature, p.e. DB_Error. Please have a look at it. The patch I posted is just a suggestion. It will be nice if somebody finds a better or easier way to fix it. Markus Kalkbrenner

« previous php.pear.dev (#26195) next »