mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
25 lines
342 B
PHP
25 lines
342 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(),
|
|
]);
|
|
|
|
|
|
}
|
|
}
|