PHP Класс BookStack\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 $e ) : Illuminate\Http\Response Render an exception into an HTTP response.
report ( Exception $e ) Report or log an exception.

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

Метод Описание
getOriginalMessage ( Exception $e ) : string Get original exception message.
isExceptionType ( Exception $e, $type ) : boolean Check the exception chain to compare against the original exception type.
unauthenticated ( Illuminate\Http\Request $request, AuthenticationException $exception ) : Illuminate\Http\Response Convert an authentication exception into an unauthenticated response.

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

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

Get original exception message.
protected getOriginalMessage ( Exception $e ) : string
$e Exception
Результат string

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

Check the exception chain to compare against the original exception type.
protected isExceptionType ( Exception $e, $type ) : boolean
$e Exception
$type
Результат boolean

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

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

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

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

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

Convert an authentication exception into an unauthenticated response.
protected unauthenticated ( Illuminate\Http\Request $request, AuthenticationException $exception ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$exception AuthenticationException
Результат Illuminate\Http\Response

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

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

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