PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Error Handling

Its not really a new feature but rather an improvement of source code rewrites. All details are behind the reference guide, Error Handler related part.

Here are the major changes to observe in a migration goal :

Table 14.1. Error Handling major changes

HTML_Progress 1.x HTML_Progress2
error protocol obey error_reporting display_errors, log_errors : php.ini directives
raiseError return values PEAR_Error | NULL | FALSE HTML_Progress2_Error | array()
HTML_Progress2 : The Definitive Guide v 2.4.0 : April 20, 2007