mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-04 13:31:45 +03: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);
 | 
						|
    }
 | 
						|
}
 |