![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct ($errorHandlerErrors) | |
setExceptionalErrors ($exceptionalErrors) | |
setDebugMode ($debugMode) | |
![]() | |
handleError ($errorLevel, $errorMessage, $errorFile, $errorLine) | |
Protected Member Functions | |
writeLog ($logMessage, $severity) | |
Protected Attributes | |
$exceptionalErrors = array() | |
$debugMode = false | |
Global error handler for TYPO3
This file is a backport from TYPO3 Flow
Definition at line 24 of file ErrorHandler.php.
__construct | ( | $errorHandlerErrors | ) |
Registers this class as default error handler
int | $errorHandlerErrors | The integer representing the E_* error level which should be |
Implements ErrorHandlerInterface.
Definition at line 45 of file ErrorHandler.php.
setDebugMode | ( | $debugMode | ) |
bool | $debugMode |
Definition at line 67 of file ErrorHandler.php.
References ErrorHandler\$debugMode.
setExceptionalErrors | ( | $exceptionalErrors | ) |
Defines which error levels should result in an exception thrown.
int | $exceptionalErrors | The integer representing the E_* error level to handle as exceptions |
Implements ErrorHandlerInterface.
Definition at line 59 of file ErrorHandler.php.
References ErrorHandler\$exceptionalErrors.
|
protected |
Writes an error in the sys_log table
string | $logMessage | Default text that follows the message (in english!). |
int | $severity | The error level of the message (0 = OK, 1 = warning, 2 = error) |
Definition at line 181 of file ErrorHandler.php.
References GeneralUtility\getIndpEnv().
|
protected |
Definition at line 38 of file ErrorHandler.php.
Referenced by ErrorHandler\setDebugMode().
|
protected |
Definition at line 31 of file ErrorHandler.php.
Referenced by ErrorHandler\setExceptionalErrors().