mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
* wip - migration transfer * (WIP) Response refactor: - Catching exceptions at top level - Tests refactor * wip * Wrappign migration validator: - Migration dropped to queue - New validator messages - New exception messages * Fixes for tests
20 lines
383 B
PHP
20 lines
383 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use Exception;
|
|
use Throwable;
|
|
|
|
class NonExistingMigrationFile extends Exception
|
|
{
|
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
public function report()
|
|
{
|
|
return 'Migration file doesn\'t exist or it is corrupted.';
|
|
}
|
|
}
|