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
handleAssertion
void public \Bitrix\Main\Diag\ExceptionHandler::handleAssertion( string $file, integer $line, string $message );
Non-static method creates and excludes object by its arguments.
Throws exception if assertion is set by default, or writes entry into log.
Parameters
Parameter | Description | Version |
---|---|---|
$file | File with discovered error. | |
$line | File string number with found error. | |
$message | Error message. |
Exceptions
\ErrorException
See Also
Example
© «Bitrix24», 2001-2024
Up