mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-12 21:43:48 +08:00
14 lines
283 B
PHP
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);
|
|
}
|
|
}
|