PEAR_ErrorStack::setContextCallback()

PEAR_ErrorStack::setContextCallback() -- Set an error code => error message mapping callback

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::setContextCallback (mixed $contextCallback)

Description

This method sets the callback that can be used to generate error messages for any PEAR_ErrorStack instance

Parameter

mixed $contextCallback

Throws

throws no exceptions thrown

Note

This function can not be called statically.