mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
22 lines
331 B
PHP
22 lines
331 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Exceptions;
|
||
|
|
||
|
use Exception;
|
||
|
|
||
|
class SystemError extends Exception
|
||
|
{
|
||
|
public function report()
|
||
|
{
|
||
|
// ..
|
||
|
}
|
||
|
|
||
|
public function render($request)
|
||
|
{
|
||
|
return view('errors.guest', [
|
||
|
'message' => $this->getMessage(),
|
||
|
'code' => $this->getCode(),
|
||
|
]);
|
||
|
}
|
||
|
}
|