You are here

class UpdaterException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Updater/UpdaterException.php \Drupal\Core\Updater\UpdaterException
  2. 9 core/lib/Drupal/Core/Updater/UpdaterException.php \Drupal\Core\Updater\UpdaterException

Defines an Exception class for the 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.
3 string references to 'UpdaterException'
drupal7.php in core/modules/tracker/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
drupal7.php in core/modules/rdf/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
drupal7.php in core/modules/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.

File

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

Namespace

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

}

Members