You are here

class UpdaterFileTransferException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Updater/UpdaterFileTransferException.php \Drupal\Core\Updater\UpdaterFileTransferException
  2. 9 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

Expanded class hierarchy of UpdaterFileTransferException

3 string references to 'UpdaterFileTransferException'
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/UpdaterFileTransferException.php, line 14

Namespace

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

}

Members