8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 831adec commit 16b5b09Copy full SHA for 16b5b09
book/part11.rst
@@ -76,7 +76,7 @@ make your error management configurable::
76
77
return new Response($msg, $exception->getStatusCode());
78
});
79
- $dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler);
+ $dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler));
80
81
``ExceptionListener`` gives you a ``FlattenException`` instance instead of the
82
thrown ``Exception`` instance to ease exception manipulation and display. It
0 commit comments