Documentation

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

ParameterDescriptionVersion
$codeError code
$messageError message
$fileFile with detected error.
$lineString number in file, containing the error.

Exceptions

  • \ErrorException

See Also

Example



© «Bitrix24», 2001-2022
Up