function FileTransferException::__construct
Same name in other branches
- 7.x includes/filetransfer/filetransfer.inc \FileTransferException::__construct()
- 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransferException.php \Drupal\Core\FileTransfer\FileTransferException::__construct()
- 10 core/lib/Drupal/Core/FileTransfer/FileTransferException.php \Drupal\Core\FileTransfer\FileTransferException::__construct()
- 11.x 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\FileTransferCode
public function __construct($message, $code = 0, $arguments = []) {
parent::__construct($message, $code);
$this->arguments = $arguments;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.