class Handler extends Handler

poppy handler

Traits

Class Helpers.

Properties

protected array $dontReport

A list of the exception types that should not be reported.

Methods

Application|ResponseFactory|JsonResponse|RedirectResponse|Response
pjaxError(string $message)

Pjax 请求错误

render(Request $request, Exception $e)

Render an exception into an HTTP response.

int
getStatusCode(Exception $exception)

Checks if the exception implements the HttpExceptionInterface, or returns as generic 500 error code for a server side error.

array
context()

Get the default context variables for logging.

unauthenticated($request, AuthenticationException $exception)

No description

Details

in PjaxTrait at line 26
Application|ResponseFactory|JsonResponse|RedirectResponse|Response pjaxError(string $message)

Pjax 请求错误

Parameters

string $message

Return Value

Application|ResponseFactory|JsonResponse|RedirectResponse|Response

at line 48
render(Request $request, Exception $e)

Render an exception into an HTTP response.

Parameters

Request $request request
Exception $e exception

Exceptions

Exception

at line 128
protected int getStatusCode(Exception $exception)

Checks if the exception implements the HttpExceptionInterface, or returns as generic 500 error code for a server side error.

Parameters

Exception $exception exception

Return Value

int

at line 147
protected array context()

Get the default context variables for logging.

Return Value

array

at line 152
protected unauthenticated($request, AuthenticationException $exception)

No description

Parameters

$request
AuthenticationException $exception