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.
2 parents 831adec + 16b5b09 commit 0b7581dCopy full SHA for 0b7581d
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