]> BookStack Code Mirror - bookstack/blob - app/Exceptions/ZipImportException.php
Merge pull request #5626 from BookStackApp/rubentalstra-development
[bookstack] / app / Exceptions / ZipImportException.php
1 <?php
2
3 namespace BookStack\Exceptions;
4
5 class ZipImportException extends \Exception
6 {
7     public function __construct(
8         public array $errors
9     ) {
10         $message = "Import failed with errors:" . implode("\n", $this->errors);
11         parent::__construct($message);
12     }
13 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.