class UpdaterException

Same name and namespace in other branches
  1. 7.x includes/updater.inc \UpdaterException
  2. 8.9.x core/lib/Drupal/Core/Updater/UpdaterException.php \Drupal\Core\Updater\UpdaterException
  3. 10 core/lib/Drupal/Core/Updater/UpdaterException.php \Drupal\Core\Updater\UpdaterException
  4. 11.x core/lib/Drupal/Core/Updater/UpdaterException.php \Drupal\Core\Updater\UpdaterException

Defines an Exception class for Drupal\Core\Updater\Updater class hierarchy.

This is identical to the base Exception class, we just give it a more specific name so that call sites that want to tell the difference can specifically catch these exceptions and treat them differently.

Hierarchy

  • class \Drupal\Core\Updater\UpdaterException extends \Drupal\Core\Updater\Exception

Expanded class hierarchy of UpdaterException

1 file declares its use of UpdaterException
update.authorize.inc in core/modules/update/update.authorize.inc
Callbacks and related functions invoked by authorize.php to update projects.

File

core/lib/Drupal/Core/Updater/UpdaterException.php, line 12

Namespace

Drupal\Core\Updater
View source
class UpdaterException extends \Exception {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.