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


require_once 'PEAR/PackageUpdate.php';

array PEAR_PackageUpdate::popError ( )


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.


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).