Skip to content

Commit 900f3e4

Browse files
committed
minor #13877 Update error_pages.rst (atailouloute)
This PR was merged into the 5.0 branch. Discussion ---------- Update error_pages.rst `setException` is replaced by `setThrowable` in SF5+ Commits ------- b5a2a89 Update error_pages.rst
2 parents d994766 + b5a2a89 commit 900f3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ error pages.
317317

318318
.. note::
319319

320-
If your listener calls ``setResponse()`` on the
320+
If your listener calls ``setThrowable()`` on the
321321
:class:`Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent`,
322322
event, propagation will be stopped and the response will be sent to
323323
the client.

0 commit comments

Comments
 (0)