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.

Set up a PEAR::
Log object for this error stack (Previous)
Return a single error stack for this package. (Next)
Last updated: Tue, 21 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.