Re: exceptions

From: Date: Tue, 08 Jun 2004 18:29:10 +0000
Subject: Re: exceptions
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30196@lists.php.net to get a copy of this message
Jackson Miller wrote:
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?
yup this is where I see the problem regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

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