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-2025