Re: Error handling requirements for new packages, PHP5?

From: Date: Mon, 09 Oct 2006 20:43:44 +0000
Subject: Re: Error handling requirements for new packages, PHP5?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-44448@lists.php.net to get a copy of this message
On 10/9/06, Keith Palmer Jr. <keith@uglyslug.com> wrote:
If I'm going to propose a new PHP 5 package, how am I required to do error handling? Am I required to use exceptions now, or can I still do the: return PEAR::raiseError('whatever'); bit?
You must use PEAR_Exception. Please see the PHP5 Error Handling RFC and linked wiki page for guidelines. -- Justin Patrin

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