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
handleError
true public \Bitrix\Main\Diag\ExceptionHandler::handleError( integer $code, string $message, string $file, integer $line );
Non-static method creates and excludes object by its arguments.
Exception is thrown if $code
matches with exception mask, or logged.
Parameters
Parameter | Description | Version |
---|---|---|
$code | Error code | |
$message | Error message | |
$file | File with detected error. | |
$line | String number in file, containing the error. |
Exceptions
\ErrorException
See Also
Example
© «Bitrix24», 2001-2024
Up