You are here

public function FileTransferException::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/FileTransfer/FileTransferException.php \Drupal\Core\FileTransfer\FileTransferException::__construct()

Constructs a FileTransferException object.

Parameters

string $message: Exception message.

int $code: Exception code.

array $arguments: Arguments to be used in this exception.

File

core/lib/Drupal/Core/FileTransfer/FileTransferException.php, line 27

Class

FileTransferException
Exception thrown for file transfer errors.

Namespace

Drupal\Core\FileTransfer

Code

public function __construct($message, $code = 0, $arguments = []) {
  parent::__construct($message, $code);
  $this->arguments = $arguments;
}