class UpdaterFileTransferException
Same name in other branches
- 7.x includes/updater.inc \UpdaterFileTransferException
- 8.9.x 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.
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 15
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.