Skip to content

Commit f989a59

Browse files
committed
minor symfony#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

+1-1
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-
The original :class:`Throwable` instance being handled.
286+
The original :class:`\Throwable` instance being handled.
287287

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

0 commit comments

Comments
 (0)