Contao\CoreBundle\EventListener\PrettyErrorScreenListener::renderBackendException PHP Method

renderBackendException() private method

Renders a back end exception.
private renderBackendException ( GetResponseForExceptionEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent
    private function renderBackendException(GetResponseForExceptionEvent $event)
    {
        $exception = $event->getException();
        $this->logException($exception);
        $this->renderTemplate('backend', $this->getStatusCodeForException($exception), $event);
    }