PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

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.