|
static | handleError ($iErrorNumber, $sErrorString, $sErrorFile, $iErrorLine, $aContext=null, $aTrace=null, $bNeverPrint=false, $bIsUserError=false) |
|
static | handleException ($oException, $bNeverPrint=false) |
|
static | displayErrorMessage ($aError, $bMayPrintDetailedMessage=false) |
|
static | getEnvironment () |
|
static | isProduction () |
|
static | shouldPrintErrors () |
|
static | shouldLogErrors () |
|
static | shouldMailErrors () |
|
static | log ($mMessage) |
|
static | trace ($bClean=true, $aTrace=null) |
|
static | setEnvironment ($sEnvironment) |
|
static ErrorHandler::displayErrorMessage |
( |
|
$aError, |
|
|
|
$bMayPrintDetailedMessage = false |
|
) |
| |
|
static |
if possible, reads the file php_error.php in the site/lib directory and outputs it as an error message. This is called from the handleError and handleException methods if the error was not output directly to screen (like in the test environment) and could not be recovered from. If the file does not exist, it will output the text "An Error occured, exiting"
The documentation for this class was generated from the following file:
- cms-full/base/lib/classes/ErrorHandler.php