Epic #83894: PSR-15 Initiative
Separate Error handling from TSFE
[TASK] Separate Error handling from TSFE
The goal is to decouple error handling from TSFE.
For that, a new ErrorController is added which can be
called and returns a Response object instead of
exits the current request.
In order to keep full backwards-compatibility,
TSFE currently does not return a response, but
instead exists with a response object.
- Move the pageUnavailable_force functionality into a middleware
- See what can be further abstracted to return a response
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Mathias Schreiber <firstname.lastname@example.org>
Tested-by: Mathias Schreiber <email@example.com>
Reviewed-by: Susanne Moog <firstname.lastname@example.org>
Tested-by: Susanne Moog <email@example.com>