8000 minor #15565 Adding global namespace to `Throwable` (ThomasLandauer) · symfony/symfony-docs@f989a59 · GitHub
[go: up one dir, main page]

Skip to content

Commit f989a59

Browse files
committed
minor #15565 Adding global namespace to Throwable (ThomasLandauer)
This PR was merged into the 4.4 branch. Discussion ---------- Adding global namespace to `Throwable` * I hope this is the right syntax - don't know what `:class:` is for... * This only works if you add `(..., ?\Throwable $exception=null)` to the controllers arguments list. Shouldn't this be mentioned too? Commits ------- 76d97f9 Adding global namespace to `Throwable`
2 parents 9c5f7b1 + 76d97f9 commit f989a59

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
< 5143 td data-grid-cell-id="diff-b4b7c46279bb30ca3ecc9baeb231b08721189563917280a850b884a357b3d921-286-285-2" data-line-anchor="diff-b4b7c46279bb30ca3ecc9baeb231b08721189563917280a850b884a357b3d921L286" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-deletionLine-bgColor, var(--diffBlob-deletion-bgColor-line));padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell left-side-diff-cell border-right left-side">-
The original :class:`Throwable` instance being handled.
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ the request that will be dispatched to your controller. In addition, your contro
283283
will be passed two parameters:
284284

285285
``exception``
286
286+
The original :class:`\Throwable` instance being handled.
287287

288288
``logger``
289289
A :class:`\\Symfony\\Component\\HttpKernel\\Log\\DebugLoggerInterface`

0 commit comments

Comments
 (0)
0