File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -519,6 +519,17 @@ comes with an :class:`Symfony\\Component\\HttpKernel\\EventListener\\ErrorListen
519
519
which if you choose to use, will do this and more by default (see the sidebar
520
520
below for more details).
521
521
522
+ The :class: `Symfony\\ Component\\ HttpKernel\\ Event\\ ExceptionEvent ` exposes the
523
+ :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ ExceptionEvent::isKernelTerminating `
524
+ method, which you can use to determine if the kernel is currently terminating
525
+ at the moment the exception was thrown.
526
+
527
+ .. versionadded :: 7.1
528
+
529
+ The
530
+ :method: `Symfony\\ Component\\ HttpKernel\\ Event\\ ExceptionEvent::isKernelTerminating `
531
+ method was introduced in Symfony 7.1.
532
+
522
533
.. note ::
523
534
524
535
When setting a response for the ``kernel.exception `` event, the propagation
You can’t perform that action at this time.
0 commit comments