Re: Re: exceptions, errors, and documentation
| From: | Tomas V.V.Cox | Date: | Tue, 08 Jun 2004 16:59:46 +0000 |
| Subject: | Re: Re: exceptions, errors, and documentation | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30184@lists.php.net to get a copy of this message | ||
Daniel Convissor wrote:
On Tue, Jun 08, 2004 at 05:26:25PM +0200, Michael Wallner wrote:IMHO is better to set "mixed", so it's clear that you have to check for errors on "datatype" instead of "datavalue". Tomas V.V.Cox* @return mixed Returns true on success or PEAR_Error on failure.The data type should be the one expected under normal circumstances. So, in this case "bool." Errors should be a rare occurance.