File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -533,7 +533,7 @@ exception and create an appropriate error ``Response``.
533533For example, to generate a 404 page, you might throw a special type of exception
534534and then add a listener on this event that looks for this exception and
535535creates and returns a 404 ``Response ``. In fact, the HttpKernel component
536- comes with an :class: `Symfony\\ Component\\ HttpKernel\\ EventListener\\ ExceptionListener `,
536+ comes with an :class: `Symfony\\ Component\\ HttpKernel\\ EventListener\\ ErrorListener `,
537537which if you choose to use, will do this and more by default (see the sidebar
538538below for more details).
539539
@@ -547,10 +547,10 @@ below for more details).
547547 There are two main listeners to ``kernel.exception `` when using the
548548 Symfony Framework.
549549
550- **ExceptionListener in the HttpKernel Component **
550+ **ErrorListener in the HttpKernel Component **
551551
552552 The first comes core to the HttpKernel component
553- and is called :class: `Symfony\\ Component\\ HttpKernel\\ EventListener\\ ExceptionListener `.
553+ and is called :class: `Symfony\\ Component\\ HttpKernel\\ EventListener\\ ErrorListener `.
554554 The listener has several goals:
555555
556556 1) The thrown exception is converted into a
You can’t perform that action at this time.
0 commit comments