auditionadmin/app/Exceptions/TabulationException.php

23 lines
377 B
PHP

<?php
namespace App\Exceptions;
use Exception;
use Throwable;
use function dd;
use function redirect;
class TabulationException extends Exception
{
public function report(): void
{
//
}
public function render($request)
{
dd('in the render');
return redirect('/tabulation/status')->with('error', $this->getMessage());
}
}