PEAR_ErrorStack::setMessageCallback()

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

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::setMessageCallback (mixed $msgCallback)

Description

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

Parameter

mixed $msgCallback

Throws

No exceptions thrown.

Note

This function can not be called statically.