constructor
PEAR_ErrorStack::PEAR_ErrorStack() -- Set up a new error stack instance
Synopsis
require_once 'PEAR/ErrorStack.php'; |
void constructor PEAR_ErrorStack::PEAR_ErrorStack
(string $package [, callback $msgCallback = FALSE [, callback $contextCallback = FALSE [, boolean $throwPEAR_Error = FALSE [, string $exceptionClass = NULL]]]])
Parameter
- string
$package
name of the package this error stack represents
- callback
$msgCallback
callback used for error message generation
- callback
$contextCallback
callback used for context generation, defaults to getFileLine()
- string
$exceptionClass
exception class to instantiate if in PHP 5
Throws
throws no exceptions thrown
Note
This function can not be called
statically.