File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ To use this feature, you need to have a definition in your
191
191
$collection->addCollection(
192
192
$loader->import('@TwigBundle/Resources/config/routing/errors.xml')
193
193
);
194
- $collection->addPrefix("/error ");
194
+ $collection->addPrefix("/_error ");
195
195
196
196
return $collection;
197
197
@@ -326,7 +326,7 @@ another page or rendering specialized error pages.
326
326
327
327
If your listener calls ``setResponse() `` on the
328
328
:class: `Symfony\\ Component\\ HttpKernel\\ Event\\ GetResponseForExceptionEvent `,
329
- event propagation will be stopped and the response will be sent to
329
+ event propagation will be stopped and the response will be sent to
330
330
the client.
331
331
332
332
This approach allows you to create centralized and layered error
@@ -338,7 +338,7 @@ several) listeners deal with them.
338
338
339
339
To see an example, have a look at the `ExceptionListener `_ in the
340
340
Security Component.
341
-
341
+
342
342
It handles various security-related exceptions that are thrown in
343
343
your application (like :class: `Symfony\\ Component\\ Security\\ Core\\ Exception\\ AccessDeniedException `)
344
344
and takes measures like redirecting the user to the login page,
You can’t perform that action at this time.
0 commit comments