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``.
533
533
For example, to generate a 404 page, you might throw a special type of exception
534
534
and then add a listener on this event that looks for this exception and
535
535
creates 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 `,
537
537
which if you choose to use, will do this and more by default (see the sidebar
538
538
below for more details).
539
539
@@ -547,10 +547,10 @@ below for more details).
547
547
There are two main listeners to ``kernel.exception `` when using the
548
548
Symfony Framework.
549
549
550
- **ExceptionListener in the HttpKernel Component **
550
+ **ErrorListener in the HttpKernel Component **
551
551
552
552
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 `.
554
554
The listener has several goals:
555
555
556
556
1) The thrown exception is converted into a
You can’t perform that action at this time.
0 commit comments