Error handling in IT[X]

From: Date: Wed, 10 Apr 2002 02:37:37 +0000
Subject: Error handling in IT[X]
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5289@lists.php.net to get a copy of this message
Hello, I've noticed that IT[X] doesn't respect default error handling that was set by: PEAR::setErrorHandling(...); Two possible solutions are: 1. Use "PEAR::raiserError(...)" instead of "new IT_Error(...)" in IT[X] classes. 2. In PEAR_Error class try to use default settings instead of falling into PEAR_ERROR_RETURN when the $mode parameter is null. Am i correct or am I something missing? It would be also nice to add something like "error_prepend_string" "error_append_string" to PEAR_Error, because when I use PEAR_ERROR_PRINT setting multiple messages glues into one line and it is difficult to read this. - Wojtek

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