Re: problems with PEAR's error codes
| From: | Lukas Smith | Date: | Tue, 12 Jul 2005 10:01:15 +0000 |
| Subject: | Re: problems with PEAR's error codes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38581@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
Hi, I seem to be having a problem with PEAR's error code handling. Specifically I am trying to migrate the error codes to SQLSTATE error code strings from what were previously negative integers. This means I would appreciate a change in PEAR::isError() to use === instead of ==. I think this should not be a BC issue. However a more important problem is in PEAR::raiseError() which I will probably have to stop using since it checks the message string if the expected error is a string.I think I got it worked out all inside MDB2. regards, Lukas