function drush_clear_error

8.0.x drush.inc drush_clear_error()
6.x drush.inc drush_clear_error()
7.x drush.inc drush_clear_error()
4.x drush.inc drush_clear_error()
5.x drush.inc drush_clear_error()
master drush.inc drush_clear_error()

Clear error context.

Related topics

4 calls to drush_clear_error()
drush_directory_cache in includes/environment.inc
The path to the global cache directory.
StatusInfoDrupal7::getAvailableReleases in lib/Drush/UpdateService/StatusInfoDrupal7.php
Obtains release info for all installed projects via update.module.
StatusInfoDrupal8::getAvailableReleases in lib/Drush/UpdateService/StatusInfoDrupal8.php
Obtains release info for all installed projects via update.module.
StatusInfoDrush::getAvailableReleases in lib/Drush/UpdateService/StatusInfoDrush.php
Obtains release info for projects.

File

includes/drush.inc, line 1574
The drush API implementation and helpers.

Code

function drush_clear_error() {
  drush_set_context('DRUSH_ERROR_CODE', DRUSH_SUCCESS);
}