8000 Remove ErrorRenderer reference everywhere · symfony/symfony-docs@9457979 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9457979

Browse files
committed
Remove ErrorRenderer reference everywhere
1 parent 5bff359 commit 9457979

File tree

5 files changed

+4
-173
lines changed

5 files changed

+4
-173
lines changed

components/error_handler.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ to enable this error handler::
6767

6868
ErrorHandler::register();
6969

70-
.. tip::
71-
72-
If you want to get even better exception pages, install the
73-
:doc:`ErrorRenderer component </components/error_renderer>` too.
74-
7570
Catching PHP Function Errors and Turning Them into Exceptions
7671
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7772

@@ -145,11 +140,6 @@ to enable this exception handler::
145140

146141
ExceptionHandler::register();
147142

148-
.. tip::
149-
150-
If you want to get even better exception pages, install the
151-
:doc:`ErrorRenderer component </components/error_renderer>` too.
152-
153143
.. _component-debug-class-loader:
154144

155145
Class Loading Debugger

components/error_renderer.rst

Lines changed: 0 additions & 159 deletions
This file was deleted.

components/http_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ below for more details).
554554
The listener has several goals:
555555

556556
1) The thrown exception is converted into a
557-
:class:`Symfony\\Component\\ErrorRenderer\\Exception\\FlattenException`
557+
:class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException`
558558
object, which contains all the information about the request, but which
559559
can be printed and serialized.
560560

controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ the request that will be dispatched to your controller. In addition, your contro
247247
will be passed two parameters:
248248

249249
``exception``
250-
A :class:`\\Symfony\\Component\\ErrorRenderer\\Exception\\FlattenException`
250+
A :class:`\\Symfony\\Component\\ErrorHandler\\Exception\\FlattenException`
251251
instance created from the exception being handled.
252252

253253
``logger``

create_framework/http_kernel_httpkernel_class.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Our code is now much more concise and surprisingly more robust and more
6969
powerful than ever. For instance, use the built-in ``ExceptionListener`` to
7070
make your error management configurable::
7171

72-
$errorHandler = function (Symfony\Component\ErrorRenderer\Exception\FlattenException $exception) {
72+
$errorHandler = function (Symfony\Component\ErrorHandler\Exception\FlattenException $exception) {
7373
$msg = 'Something went wrong! ('.$exception->getMessage().')';
7474

7575
return new Response($msg, $exception->getStatusCode());
@@ -91,7 +91,7 @@ The error controller reads as follows::
9191
// example.com/src/Calendar/Controller/ErrorController.php
9292
namespace Calendar\Controller;
9393

94-
use Symfony\Component\ErrorRenderer\Exception\FlattenException;
94+
use Symfony\Component\ErrorHandler\Exception\FlattenException;
9595
use Symfony\Component\HttpFoundation\Response;
9696

9797
class ErrorController

0 commit comments

Comments
 (0)
0