Re: DB: do I need to check if (DB::isError($res)) if I setErrorHandling() to callback function?
| From: | Massimiliano Arione | Date: | Wed, 24 Aug 2005 07:28:29 +0000 |
| Subject: | Re: DB: do I need to check if (DB::isError($res)) if I setErrorHandling() to callback function? | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20573@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
If you use the callback but don't exit the script in some way then you *are* going to have errors in your scripts. Likely "method does not exist" errors. If you do logging and such and *then* die() or exit you're still fine.But even that errors will be catched by the callback. Or not? -- Massimiliano Arione :: http://garak.it :: * No Word * http://gnu.org/philosophy/no-word-attachments.html * No HTML * http://efn.no/html-bad.html