class Handler extends Handler (View source)

Methods

string
getHttpExceptionView(HttpExceptionInterface $e)

Get the view used to render HTTP exceptions.

string
getTwillErrorView(int $statusCode, $frontend = false)

Get the Twill error view used to render a specified HTTP status code.

invalidJson($request, ValidationException $exception)

No description

Details

protected string getHttpExceptionView(HttpExceptionInterface $e)

Get the view used to render HTTP exceptions.

Parameters

HttpExceptionInterface $e

Return Value

string

protected string getTwillErrorView(int $statusCode, $frontend = false)

Get the Twill error view used to render a specified HTTP status code.

Parameters

int $statusCode
$frontend

Return Value

string

protected invalidJson($request, ValidationException $exception)

No description

Parameters

$request
ValidationException $exception