We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fabpot
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
2 parents aae0705 + 60617d7 commit 0d6beb1Copy full SHA for 0d6beb1
book/part11.rst
@@ -75,7 +75,7 @@ make your error management configurable::
75
$msg = 'Something went wrong! ('.$exception->getMessage().')';
76
77
return new Response($msg, $exception->getStatusCode());
78
- });
+ };
79
$dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler));
80
81
``ExceptionListener`` gives you a ``FlattenException`` instance instead of the
0 commit comments