PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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 !