We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent31c56d9 commitcd309c9Copy full SHA for cd309c9
create_framework/http_kernel_httpkernel_class.rst
@@ -77,9 +77,9 @@ make your error management configurable::
77
$dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler));
78
79
``ExceptionListener`` gives you a ``FlattenException`` instance instead of the
80
-thrown ``Exception`` instance to ease exception manipulation and display. It
81
-can take any valid controller as an exception handler, so you can create an
82
-ErrorController class instead of using a Closure::
+thrown ``Exception``or ``Error``instance to ease exception manipulation and
+display. Itcan take any valid controller as an exception handler, so you can
+create anErrorController class instead of using a Closure::
83
84
$listener = new HttpKernel\EventListener\ExceptionListener(
85
'Calendar\Controller\ErrorController::exceptionAction'