public function InvalidContentArchiveException::__construct in Mini site 8
InvalidContentArchiveException constructor.
Parameters
array $errors: Array of error messages encountered during archive content validation.
File
- src/
Exception/ InvalidContentArchiveException.php, line 20
Class
- InvalidContentArchiveException
- Class InvalidContentArchiveException.
Namespace
Drupal\minisite\ExceptionCode
public function __construct(array $errors) {
parent::__construct(sprintf('Archive has invalid content: %s', implode(PHP_EOL, $errors)));
}