File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 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
519519which if you choose to use, will do this and more by default (see the sidebar
520520below for more details).
521521
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+
522533.. note ::
523534
524535 When setting a response for the ``kernel.exception `` event, the propagation
You can’t perform that action at this time.
0 commit comments