Trapping contructor errors from Auth

From: Date: Fri, 09 Jan 2004 22:06:15 +0000
Subject: Trapping contructor errors from Auth
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10092@lists.php.net to get a copy of this message
Hi everybody, I'm trying to catch an error coming from the Auth_Container_IMAP constructor when calling the _checkServer() function. For example, the IMAP server is down. The problem is all errors are raised with PEAR_ERROR_DIE parameter, and PEAR::SetErrorHandling(PEAR_ERROR_RETURN) does not work. I know I can disable _checkServer() calling, but that will only lead to other problems. Is there any way around this? Thanks, Robert -- Robert Munteanu <rombertworf@xnet.ro>

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