PEAR Manual
Prev |  | Next

# PEAR_ErrorStack::getMessageCallback()

PEAR_ErrorStack::getMessageCallback() -- Get an error code => error message mapping callback

## Synopsis

    require_once 'PEAR/ErrorStack.php';

```array|string|false` PEAR_ErrorStack::getMessageCallback` ()`

## Description

This method returns the current callback that can be used to generate error messages

## Return value

returns Callback function/method or false if none

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ErrorStack::getFileLine() | Up | PEAR_ErrorStack::hasErrors()