File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -595,7 +595,12 @@ below for more details).
595595 use the ``setHeaders() `` method on exceptions derived from the
596596 :class: `Symfony\\ Component\\ HttpKernel\\ Exception\\ HttpException ` class.
597597
598- 3) A controller is executed and passed the flattened exception. The exact
598+ 3) If the original exception implements
599+ :class: `Symfony\\ Component\\ HttpKernel\\ Exception\\ RequestExceptionInterface `,
600+ then the status code of the ``FlattenException `` object is populated with
601+ ``400 `` and no other headers are modified.
602+
603+ 4) A controller is executed and passed the flattened exception. The exact
599604 controller to render is passed as a constructor argument to this listener.
600605 This controller will return the final ``Response `` for this error page.
601606
You can’t perform that action at this time.
0 commit comments