class UpdaterException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Updater/UpdaterException.php \Drupal\Core\Updater\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

Exception class for the 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

Expanded class hierarchy of UpdaterException

File

includes/updater.inc, line 426

View source
class UpdaterException extends Exception {

}

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