PHP Класс REBELinBLUE\Deployer\Exceptions\Handler

Наследование: extends Illuminate\Foundation\Exceptions\Handler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$dontReport array A list of the exception types that should not be reported.

Открытые методы

Метод Описание
render ( Illuminate\Http\Request $request, Exception $exception ) : Illuminate\Http\Response Render an exception into an HTTP response.
report ( Exception $exception ) Report or log an exception.

Защищенные методы

Метод Описание
isSafeToWhoops ( Exception $exception ) : boolean Don't allow the exceptions which laravel handles specially to be converted to Whoops This is horrible though, see if we can find a better way to do it.
renderExceptionWithWhoops ( Illuminate\Http\Request $request, Exception $exception ) : Illuminate\Http\Response Render an exception using Whoops.

Описание методов

isSafeToWhoops() защищенный Метод

GrahamCampbell/Laravel-Exceptions unfortunately doesn't return JSON for whoops pages which are from AJAX.
protected isSafeToWhoops ( Exception $exception ) : boolean
$exception Exception
Результат boolean

render() публичный Метод

Render an exception into an HTTP response.
public render ( Illuminate\Http\Request $request, Exception $exception ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$exception Exception
Результат Illuminate\Http\Response

renderExceptionWithWhoops() защищенный Метод

Render an exception using Whoops.
protected renderExceptionWithWhoops ( Illuminate\Http\Request $request, Exception $exception ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$exception Exception
Результат Illuminate\Http\Response

report() публичный Метод

This is a great spot to send exceptions to Sentry, Bugsnag, etc.
public report ( Exception $exception )
$exception Exception

Описание свойств

$dontReport защищенное свойство

A list of the exception types that should not be reported.
protected array $dontReport
Результат array