RE: [PEAR-DEV] [PEPr] Comment on XML::XML_FastCreate
| From: | Guillaume Lecanu | Date: | Mon, 19 Apr 2004 09:30:23 +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-27995@lists.php.net to get a copy of this message | ||
Le lun 19/04/2004 à 11:17, Stephan Schmidt a écrit :
> 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.
Ok, i will do that.
Thanks for your advices
Regards,
>
> Stephan
>
>