File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -589,10 +589,6 @@ error_controller
589
589
590
590
**type **: ``string `` **default **: ``error_controller ``
591
591
592
- .. versionadded :: 4.4
593
-
594
- The ``error_controller `` option was introduced in Symfony 4.4.
595
-
596
592
This is the controller that is called when an exception is thrown anywhere in
597
593
your application. The default controller
598
594
(:class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ErrorController `)
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ Configuration
42
42
43
43
* `debug `_
44
44
* `default_path `_
45
- * `exception_controller `_
46
45
* `form_themes `_
47
46
* `globals `_
48
47
* `number_format `_
@@ -196,29 +195,6 @@ The path to the directory where Symfony will look for the application Twig
196
195
templates by default. If you store the templates in more than one directory, use
197
196
the :ref: `paths <config-twig-paths >` option too.
198
197
199
- .. _config-twig-exception-controller :
200
-
201
- exception_controller
202
- ~~~~~~~~~~~~~~~~~~~~
203
-
204
- **type **: ``string `` **default **: ``twig.controller.exception:showAction ``
205
-
206
- .. deprecated :: 4.4
207
-
208
- The ``exception_controller `` configuration option was deprecated in Symfony 4.4.
209
- Set it to ``null `` and use the new ``error_controller `` option under ``framework ``
210
- configuration instead.
211
-
212
- This is the controller that is activated after an exception is thrown anywhere
213
- in your application. The default controller
214
- (:class: `Symfony\\ Bundle\\ TwigBundle\\ Controller\\ ExceptionController `)
215
- is what's responsible for rendering specific templates under different error
216
- conditions (see :doc: `/controller/error_pages `). Modifying this
217
- option is advanced. If you need to customize an error page you should use
218
- the previous link. If you need to perform some behavior on an exception,
219
- you should add an :doc: `event listener </event_dispatcher >` to the
220
- :ref: `kernel.exception event <kernel-kernel.exception >`.
221
-
222
198
.. _config-twig-form-themes :
223
199
224
200
form_themes
You can’t perform that action at this time.
0 commit comments