DB_DataObject error handling

From: Date: Sun, 24 Sep 2006 20:18:12 +0000
Subject: DB_DataObject error handling
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25229@lists.php.net to get a copy of this message
Hi there, I'm trying to supress this error, so that I can present something tidy and fancy to users in the case of database connection troubles: "DB_DataObject Error: Connect failed, turn on debugging to 5 to see why" The manual mentions something about setting the 'PEAR_Error' callback... but I have no idea what this means. Thanks, Noel da Costa Lead Developer Magnet Harlequin T: 01895 432400 M: 07879 427940 F: 01895 432444 E: noel.dacosta@magharl.co.uk W: http://www.magharl.co.uk This e-mail is intended solely for the addressees named above and any other use is prohibited. Access to this email by anyone else is unauthorised. It may contain confidential information. If you have received this e-mail in error, please contact the sender by return e-mail. We do not accept legal responsibility for the contents of this message if it has reached you via the internet. Any opinions expressed are those of the author and are not necessarily endorsed by the company. Recipients are advised to apply their own virus check to this message and all incoming e-mail on delivery.

« previous php.pear.general (#25229) next »