mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
29 lines
539 B
PHP
29 lines
539 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Exceptions;
|
||
|
|
||
|
use Exception;
|
||
|
use Throwable;
|
||
|
|
||
|
class ProcessingMigrationArchiveFailed extends Exception
|
||
|
{
|
||
|
/**
|
||
|
* @var Throwable
|
||
|
*/
|
||
|
private $previous;
|
||
|
|
||
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
||
|
{
|
||
|
parent::__construct($message, $code, $previous);
|
||
|
$this->message = $message;
|
||
|
$this->code = $code;
|
||
|
$this->previous = $previous;
|
||
|
}
|
||
|
|
||
|
public function report()
|
||
|
{
|
||
|
return 'Unable to open migration archive.';
|
||
|
}
|
||
|
|
||
|
}
|