Re: PEAR framework changes for PHP5

From: Date: Thu, 29 Jan 2004 18:05:38 +0000
Subject: Re: PEAR framework changes for PHP5
References: 1 2 3  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-86@lists.php.net to get a copy of this message
Hi, I've got a nearly complete error stack class that can both return a PEAR_Error class and an Exception class, if desired, but uses arrays for the stack storage. It has all of the features of PEAR_Error plus extra functionality that I've been wanting like error levels and package-specific errors, so that error codes have some meaning without needing to know the number a code represents. It will be perfect for many classes, including the PEAR_Packager class and the PEAR_Dependency. These classes already use a primitive error message stack, passed in as a &$errors parameter. Greg Lukas Smith wrote:
I remember that Richy and I have always been begging for an error stack instead of having to always return the pear error itself. When we begged we always heard wait for php5, then we will redesign the error stuff :-) regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07


« previous php.pear.core (#86) next »