RE: [PEAR-DEV] PEAR Error Management
| From: | Lukas Smith | Date: | Tue, 24 Sep 2002 10:04:51 +0000 |
| Subject: | RE: [PEAR-DEV] PEAR Error Management | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9403@lists.php.net to get a copy of this message | ||
> From: Sebastian Bergmann [mailto:sebastian@php.net]
> Sent: Tuesday, September 24, 2002 8:12 AM
>
> For quite some time now, I haven't looked at the PEAR base class,
and
> never really at its facilities for error management.
>
> I want to use PEAR::raiseError() (I guess that I want that, actually
:)
> to trigger an error and send the error message by default to
> error_log().
>
> How do I go about that?
>
I also think that a tutrial about all the nifty features is seriously
lacking. I figured out some stuff by asking stig and reading the source
of PEAR DB. But I still don't think I know how it all works nor should
it be such an arcane and serect magic to begin with.
Regards,
Lukas