[PEPr] Comment on Tools and Utilities::CodeGen

From: Date: Sun, 03 Jul 2005 23:13:32 +0000
Subject: [PEPr] Comment on Tools and Utilities::CodeGen
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38433@lists.php.net to get a copy of this message
Lukas Smith (http://pear.php.net/user/lsmith) has commented on the proposal for Tools and Utilities::CodeGen. Comment: the main advantage to extending pear is to be able to use expectError(). this only makes sense though if you define a set of error codes for your package. btw: i havent looked at the code, but there is a definate advantage to providing your own error class that extends from pear_error. that way people can determine what error code map to use for the given error object (sometimes it becomes hard to determine what pear package has raised the error otherwise). Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=266 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

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