public function UpdateException::__construct in Automatic Updates 8.2
Constructs an UpdateException object.
Parameters
\Drupal\automatic_updates\Validation\ValidationResult[] $validation_results: The validation results.
string $message: The exception message.
File
- src/
Exception/ UpdateException.php, line 25
Class
- UpdateException
- Defines a custom exception for a failure during an update.
Namespace
Drupal\automatic_updates\ExceptionCode
public function __construct(array $validation_results, string $message) {
parent::__construct($message);
$this->validationResults = $validation_results;
}