This example will show you how HTML_Progress2 handle errors (and especially exception) with default error handler (standard PEAR_Error object).
By default all exceptions halt the script, so line 20 will never be reached !
Exception: invalid input, parameter #3 "$min" was expecting "integer", instead got "string" in html_progress2->html_progress2 (file [path_to]\errorbasic.php on line 18)
For security reasons live demo is not available
and i've replaced the real path to file errorbasic.php by [path_to].
But in real conditions, you will see it!
This example requires mandatory resources :