PEAR_ErrorStack::setMessageCallback

PEAR_ErrorStack::setMessageCallback()

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

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.