class UpdaterFileTransferException
Same name in other branches
- 7.x includes/updater.inc \UpdaterFileTransferException
- 9 core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php \Drupal\Core\Updater\UpdaterFileTransferException
- 10 core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php \Drupal\Core\Updater\UpdaterFileTransferException
- 11.x core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php \Drupal\Core\Updater\UpdaterFileTransferException
Defines a child class of Drupal\Core\Updater\UpdaterException that 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
- class \Drupal\Core\Updater\UpdaterException extends \Drupal\Core\Updater\Exception
- class \Drupal\Core\Updater\UpdaterFileTransferException extends \Drupal\Core\Updater\UpdaterException
Expanded class hierarchy of UpdaterFileTransferException
File
-
core/
lib/ Drupal/ Core/ Updater/ UpdaterFileTransferException.php, line 14
Namespace
Drupal\Core\UpdaterView source
class UpdaterFileTransferException extends UpdaterException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.