Documentation

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

ParameterDescriptionVersion
$fileFile with discovered error.
$lineFile string number with found error.
$messageError message.

Exceptions

  • \ErrorException

See Also

Example



© «Bitrix24», 2001-2022
Up