ldc-legaulois/app/Exceptions/RedirectTo.php
2022-02-10 16:14:58 +01:00

20 lines
344 B
PHP

<?php
namespace App\Exceptions;
use Exception;
/**
* This class Exception is used to skip a row import from
* database migration (2016 -> 2020)
* @author Jérémy Munsch <jeremy.munsch@ldc.fr>
*/
class RedirectTo extends Exception
{
public $url;
public function __construct(string $url)
{
$this->url = $url;
}
}