Re: PEAR_Error
| From: | Stig S. Bakken | Date: | Wed, 13 Sep 2000 10:01:27 +0000 |
| Subject: | Re: PEAR_Error | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-255@lists.php.net to get a copy of this message | ||
Ulf Wendel wrote:
>
> Hi,
>
> I had a look at the PEAR Error class and there're two things I
> didn't like.
>
> 1. Constructor
>
> [...]
>
> 2. $this->mode
>
> [...]
I've implemented both of your suggestions now, using null for default
values like Andrei suggested. The only catch is that you can't mix
callback with other modes, but that doesn't really matter, you can do
the rest in your callback if wanted.
- Stig