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

1 call to drush_clear_error()
_pm_get_update_info in commands/pm/update_info/drupal.inc
Get update information for all installed projects.

File

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

Code

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