You are here

class UpdateException in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Utility/UpdateException.php \Drupal\Core\Utility\UpdateException
  2. 10 core/lib/Drupal/Core/Utility/UpdateException.php \Drupal\Core\Utility\UpdateException

Exception class used to throw error if a module update fails.

Hierarchy

  • class \Drupal\Core\Utility\UpdateException extends \Drupal\Core\Utility\Exception

Expanded class hierarchy of UpdateException

2 files declare their use of UpdateException
module.api.php in core/lib/Drupal/Core/Extension/module.api.php
Hooks related to module and update systems.
update_test_failing.install in core/modules/system/tests/modules/update_test_failing/update_test_failing.install
Contains a failing update hook for testing the update system.

File

core/lib/Drupal/Core/Utility/UpdateException.php, line 8

Namespace

Drupal\Core\Utility
View source
class UpdateException extends \Exception {

}

Members