question about DB

From: Date: Fri, 02 Nov 2001 16:22:37 +0000
Subject: question about DB
References: 1  Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-2515@lists.php.net to get a copy of this message
I have a question about DB is it supposed to handle errors in the same ways as any other object that extends pear? For example. if I .... PEAR::setErrorHandling (PEAR_ERROR_CALLBACK, 'pearErrorHandler'); $db = DB::connect(DSN); // then send a bad query $result = $db->query('seasdkfl;asdfl;ksdfkasdfl;klfdsl;asdf;l'); Is the DB object supposed to send the error to the pearErrorHandler that I have set? I have not been able to make that happen. Is there another step that I need to do like DB::setErrorHandling () Thanks Jon Hartzler

« previous php.pear.dev (#2515) next »