Re: Mail class error handling

From: Date: Fri, 16 Apr 2004 00:53:37 +0000
Subject: Re: Mail class error handling
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11897@lists.php.net to get a copy of this message
Chuck Hagenbuch wrote:
Quoting Justin Patrin <papercrane@reversefold.com>:
It's generally better to use PEAR's isError method that doing the check yourself.
Can you give me a single reason why?
encapsulation? dont tell me you are writing is_a() all over the place to safe the static function call? 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.general (#11897) next »