File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ make your error management configurable::
77
77
$dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler));
78
78
79
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::
80
+ thrown ``Exception `` or `` Error `` instance to ease exception manipulation and
81
+ display. It can take any valid controller as an exception handler, so you can
82
+ create an ErrorController class instead of using a Closure::
83
83
84
84
$listener = new HttpKernel\EventListener\ExceptionListener(
85
85
'Calendar\Controller\ErrorController::exceptionAction'
You can’t perform that action at this time.
0 commit comments