Error text or catch exception
| From: | gus | Date: | Wed, 05 Apr 2000 08:53:47 +0000 |
| Subject: | Error text or catch exception | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13142@lists.php.net to get a copy of this message | ||
Hi!
Is there a possibility to catch an exception or get a detailed error
text in PHP4 RC1?
I have a COM object throwing an exception and all I get is a message
that there occured an exception in line xxx.
With ASP (JScript) you can do that this way:
try
{
var rs = q.CreateRecordSet("nonsequential");
} catch (e)
{
errorStr = (e.description);
}
Is there something similar in PHP4?
Regards
Guido