Make Image_Graph use some error reporting mechanism, that being PEAR_Error, PEAR_ErrorStack 1), Exceptions 2) or some other generic mechanism.
Further more Image_Graph should report with meaningfull error messages.
Image_Graph will make use of PEAR_Error. All methods will be capable of returning a PEAR_Error object upon failure, if method succeeds it will return the expected result or true.
Error handling / instantiation is handled by Image_Graph_Common::_error() which will raise the actual PEAR_Error and return it. All other methods that fails, must simply call $this→_error()3)
| Key | Text |
|---|---|
| ID | R003 |
| Link | http://pear.php.net/bugs/4785 |
| Component | Image_Graph all |
| Status | Waiting |
| Progress | In Progress |
| Responsible | nosey |
| Date added | 31-Aug-2005 |
| Date completed | |
| Release |