BookStack/app/Exceptions/ZipImportException.php
2024-11-11 15:06:46 +00:00

14 lines
283 B
PHP

<?php
namespace BookStack\Exceptions;
class ZipImportException extends \Exception
{
public function __construct(
public array $errors
) {
$message = "Import failed with errors:" . implode("\n", $this->errors);
parent::__construct($message);
}
}