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 f71b7bd commit 5133d6bCopy full SHA for 5133d6b
create_framework/http_kernel_httpkernel_class.rst
@@ -64,10 +64,8 @@ attributes with route parameters.
64
Our code is now much more concise and surprisingly more robust and more
65
powerful than ever. For instance, use the built-in ``ExceptionListener`` to
66
make your error management configurable::
67
-
68
- use Symfony\Component\Debug\Exception\FlattenException;
69
70
- $errorHandler = function (FlattenException $exception) {
+ $errorHandler = function (Symfony\Component\Debug\Exception\FlattenException $exception) {
71
$msg = 'Something went wrong! ('.$exception->getMessage().')';
72
73
return new Response($msg, $exception->getStatusCode());
0 commit comments