require_once 'PEAR/ErrorStack.php';
void constructor PEAR_ErrorStack::PEAR_ErrorStack (string $package [, callback $msgCallback = FALSE [, callback $contextCallback = FALSE [, boolean $throwPEAR_Error = FALSE]]])
void constructor PEAR_ErrorStack::PEAR_ErrorStack
As of PEAR 1.3.2, PEAR_ErrorStack no longer instantiates and returns an Exception object in PHP5, and the last parameter has been removed. Code that relies upon this behavior will break.
Creates a new private PEAR_ErrorStack. To access a universal stack, use PEAR_ErrorStack::singleton()
name of the package this error stack represents
callback used for error message generation
callback used for context generation, defaults to getFileLine()
exception class to instantiate if in PHP 5
throws no exceptions thrown
This function can not be called statically.