PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_Whois » Bug #1301

Not "optimized" in a call to PEAR_ERROR

Details

Submitted2004-04-27 23:27 UTC
Fromguillaume at desclaux dot net
Assignedsvenasse
StatusClosed
PackageNet_Whois
PHP Version4.3.2
OSLinux
Roadmaps(Not assigned)

Comments

[2004-04-27 23:27 UTC] guillaume at desclaux dot net

Description:
------------
The lines 222, 225, 229 and 235 should also provide an error code and not only an error message... Use this :

return new PEAR_Error($this->_errorCodes[010], 10);

More over : the documentation says that Net/Whois does not use PEAR Error objet... but in fact it did !