UpdaterFileTransferException.php 485 B

123456789101112131415
  1. <?php
  2. namespace Drupal\Core\Updater;
  3. /**
  4. * Defines a child class of Drupal\Core\Updater\UpdaterException that indicates
  5. * a Drupal\Core\FileTransfer\FileTransfer exception.
  6. *
  7. * We have to catch Drupal\Core\FileTransfer\FileTransfer exceptions
  8. * and wrap those in t(), since Drupal\Core\FileTransfer\FileTransfer
  9. * is so low-level that it doesn't use any Drupal APIs and none of the strings
  10. * are translated.
  11. */
  12. class UpdaterFileTransferException extends UpdaterException {
  13. }