InvalidContentArchiveException.php in Mini site 8
Namespace
Drupal\minisite\ExceptionFile
src/Exception/InvalidContentArchiveException.phpView source
<?php
namespace Drupal\minisite\Exception;
/**
* Class InvalidContentArchiveException.
*
* Thrown when archive content is invalid.
*
* @package Drupal\minisite\Exception
*/
class InvalidContentArchiveException extends ArchiveException {
/**
* InvalidContentArchiveException constructor.
*
* @param array $errors
* Array of error messages encountered during archive content validation.
*/
public function __construct(array $errors) {
parent::__construct(sprintf('Archive has invalid content: %s', implode(PHP_EOL, $errors)));
}
}
Classes
Name | Description |
---|---|
InvalidContentArchiveException | Class InvalidContentArchiveException. |