Skip to content

Commit 76d97f9

Browse files
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?
1 parent 8e7ddc8 commit 76d97f9

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
@@ -284,7 +284,7 @@ the request that will be dispatched to your controller. In addition, your contro
284284
will be passed two parameters:
285285

286286
``exception``
287-
The original :class:`Throwable` instance being handled.
287+
The original :class:`\Throwable` instance being handled.
288288

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

0 commit comments

Comments
 (0)