Re: Mail class error handling
| From: | Chuck Hagenbuch | Date: | Thu, 15 Apr 2004 20:46:00 +0000 |
| Subject: | Re: Mail class error handling | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11881@lists.php.net to get a copy of this message | ||
Quoting Justin Patrin <papercrane@reversefold.com>:
if (is_a($result, 'PEAR_Error')) {return $result->getMessage();}
... if(PEAR::isError($result)) { ...Your point? -chuck -- "Regard my poor demoralized mule!" - Juan Valdez