class ExceptionController
ExceptionController.
__construct(Twig_Environment $twig, $debug) | ||
Response | showAction(Request $request, FlattenException $exception, DebugLoggerInterface $logger = null) Converts an Exception to a Response. | |
Response | testErrorPageAction(Request $request, int $code) Displays the error page for arbitrary status codes and formats. |
Converts an Exception to a Response.
Displays the error page for arbitrary status codes and formats.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Bundle/TwigBundle/Controller/ExceptionController.html