D7 API documentation
What's New
Modules
Main module in old core
ExceptionHandler constructor
handleAssertion
handleError
handleException
handleFatalError
initialize
setAssertionErrorType
setAssertionThrowsException
setDebugMode
setExceptionErrorsTypes
setHandledErrorsTypes
setHandlerLog
setHandlerOutput
setIgnoreSilence
setOverflowMemoryCatching
writeToLog
setDebugMode
void public \Bitrix\Main\Diag\ExceptionHandler::setDebugMode( boolean $debug );
Non-static method sets debugging mode.
Must be used during development process.
Parameters
Parameter | Description | Version |
---|---|---|
$debug | When true, shows the error to the user. When false, doesn't display the majority of errors. |
Example
© «Bitrix24», 2001-2024
Up