PEAR_PackageUpdate::popError

PEAR_PackageUpdate::popError – Pops an error off the error stack.

Synopsis

require_once 'PEAR/PackageUpdate.php';

array PEAR_PackageUpdate::popError ( )

Description

Pops an error off the error stack.

This method is just for collecting errors that occur while checking for updates and updating a package. The child class is responsible for displaying all errors and handling them properly. This is because the way errors are handled varies greatly depending on the driver used.

Note

since 0.4.0a1

This function can not be called statically.

Return value

array - details of an error or warning (with debug context if available).