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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.