Re: exceptions
| From: | Jackson Miller | Date: | Tue, 08 Jun 2004 18:29:04 +0000 |
| Subject: | Re: exceptions | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30195@lists.php.net to get a copy of this message | ||
On Tuesday 08 June 2004 13:11, Justin Patrin wrote:
> This is exactly the kind of thing that I was thinking. You set
> PEAR_ERROR_RETURN or PEAR_ERROR_EXCEPTION. If the coder selectes
> exceptions, they get them *instead of* PEAR_Errors. Either should work.
Would that work?
Aren't there PEAR modules that check for errors or cascade errors back up?
How could that be done with either error objects or exceptions?
-Jackson
>
> --
> paperCrane <Justin Patrin>