RE: [PEAR-DEV] [PEPr] Comment on XML::XML_FastCreate

From: Date: Mon, 19 Apr 2004 09:17:20 +0000
Subject: RE: [PEAR-DEV] [PEPr] Comment on XML::XML_FastCreate
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-27991@lists.php.net to get a copy of this message
Hi, > > 3. Error reporting > > Please use PEAR::raiseError() or the new Error_Stack to > report errors, > > instead of a switch/case statement. > Humm i have a doubt, is it possible to control the format output with > raiseError, by example for XHTML (a special div) ? Let the user care for that. He will be able to specify a callback method to handle the error himself... That's what PEAR's error management is meant for. All you have to do is return the error, if it is fatal. Stephan

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