class UpdaterFileTransferException

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

Defines a child class of Drupal\Core\Updater\UpdaterException.

Indicates a Drupal\Core\FileTransfer\FileTransfer exception.

We have to catch Drupal\Core\FileTransfer\FileTransfer exceptions and wrap those in t(), since Drupal\Core\FileTransfer\FileTransfer is so low-level that it doesn't use any Drupal APIs and none of the strings are translated.

Hierarchy

Expanded class hierarchy of UpdaterFileTransferException

File

core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php, line 15

Namespace

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

}

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