Re: DB_DataObject error handling

From: Date: Wed, 16 Aug 2006 00:42:12 +0000
Subject: Re: DB_DataObject error handling
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24913@lists.php.net to get a copy of this message
On 8/15/06, Jeff Loiselle <jeff.loiselle@gmail.com> wrote:
What's the reccomended method for capturing the ubiqitous: "DB_DataObject Error: Connect failed, turn on debugging to 5 see why" I've tried: $do->setErrorHandling().. but I can't seem to get it to work. I never want the user to see this. I want them to see vast pretty fields filled with opium plants. instead.
Why is that being output in the first place? AFAIK DB_DO doesn't output anything manually. Try PEAR::setErrorHandling(). -- Justin Patrin

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