27 lines
423 B
PHP
27 lines
423 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
use Exception;
|
|
|
|
use function dd;
|
|
use function redirect;
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
class TabulationException extends Exception
|
|
{
|
|
public function report(): void
|
|
{
|
|
//TODO: Fully depricate this class
|
|
}
|
|
|
|
public function render($request)
|
|
{
|
|
dd('in the render');
|
|
|
|
return redirect('/tabulation/status')->with('error', $this->getMessage());
|
|
}
|
|
}
|