Home » Validate » Validate » Bug #6130
Use PEAR::raiseError instead of trigger_error
Details
| Request #6130 | Use PEAR::raiseError instead of trigger_error |
|---|---|
| Submitted | 2005-12-02 09:02 UTC |
| From | jonathanmartens at gmx dot net |
| Status | Wont fix |
| Package | Validate |
| PHP Version | 5.0.4 |
| OS | Win XP SP2 |
| Roadmaps | (Not assigned) |
Comments
[2005-12-02 09:02 UTC] jonathanmartens at gmx dot net
Description:
------------
Change the throwing of errors to use the PEAR::raiseError function instead of the trigger_error function.
As Validate is a PEAR class it should be able to include it in the default PEAR errorhandler and with the trigger_error fucntion there is no possible solution (AFAIK) to include errors in the validation class in the default error handler.
[2005-12-02 12:18 UTC] at php dot net
We don't not use PEAR_Error as we do not want to put that dep on Validate, there is no requirement at all for a PEAR package to use PEAR_Error