PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::getErrors()

PEAR_ChannelFile::getErrors() -- Wrapper to PEAR_ErrorStack::getErrors()

## Synopsis

    require_once '/ChannelFile.php';

``array PEAR_ChannelFile::getErrors` (boolean [$purge = `FALSE`])`

## Description

Retrieve any errors from the last validation attempt.

## Parameter

boolean `$purge`

  determines whether to purge the error stack after retrieving

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::getBaseURL() | Up | PEAR_ChannelFile::getFunction()