PEAR Manual
Prev |  | Next

# PEAR_Error::getMessage()

PEAR_Error::getMessage() -- get error message

## Synopsis

    require_once 'PEAR.php';

``string PEAR_Error::getMessage` ()`

## Description

Returns the error message coming with the error object.

## Return value

`string` - error message

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Error::getCode() | Up | PEAR_Error::getMode()