Web site hosting and cheap domain registration services
  

 Home

PEAR Manual
PrevNext

constructor PEAR_ErrorStack::PEAR_ErrorStack()

constructor PEAR_ErrorStack::PEAR_ErrorStack() -- Set up a new error stack instance

Description

Creates a new private PEAR_ErrorStack. To access a universal stack, use PEAR_ErrorStack::singleton()

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()

boolean $throwPEAR_Error

string $exceptionClass

exception class to instantiate if in PHP 5

Throws

throws no exceptions thrown

Note

This function can not be called statically.


PrevHomeNext
Introduction to using PEAR_ErrorStack for advanced error handlingUpPEAR_ErrorStack::getErrorMessage()
 

 

 

© 2002-2004 Active-Venture.com Web Site Hosting Service

 

Disclaimers: This documentation is provided only for the benefits of our website hosting customers.
For authoritative source of the documentation, please refer to http://pear.php.net/manual/

Recommended Resources: