PEAR Manual
Prev |  | Next

# HTML_QuickForm::errorMessage()

HTML_QuickForm::errorMessage() -- Returns an error message for error code

## Synopsis

    require_once 'HTML/QuickForm.php';

``string HTML_QuickForm::errorMessage` (int $value)`

## Description

Returns a textual error message for QuickForm error code.

## Parameter

integer `$value`

  int error code

## Return value

return error message

## Throws

throws no exceptions thrown

## Note

This function can be called statically.

Prev | Home | Next
HTML_QuickForm::elementExists() | Up | HTML_QuickForm::getElementType()