Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v11 here: TYPO3 ELTS.
Error Handler
Class \TYPO3\
is the default error handler in
TYPO3.
Functions:
- Can be registered for all PHP errors or for only a subset of the PHP errors which will then be handled by an error handler.
- Displays error messages as flash messages in the Backend (if
exceptionHandler is set to
\TYPO3\
). Since flash messages are integrated in the Backend template, PHP messages will not destroy the Backend layout.CMS\ Core\ Error\ Debug Exception Handler - Displays errors as TsLog messages in the adminpanel.
- Logs error messages via the logging API.
- Logs error messages to the sys_log table. Logged errors are displayed in the belog extension (Admin Tools > Log). This will work only with an existing DB connection.