mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
40af77d324
* 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
346 B
PHP
20 lines
346 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use Exception;
|
|
use Throwable;
|
|
|
|
class MigrationValidatorFailed extends Exception
|
|
{
|
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
public function report()
|
|
{
|
|
return $this->message;
|
|
}
|
|
}
|