Documentation

LoaderException constructor

 public
\Bitrix\Main\SystemException::__construct(
 string $message = "",
 integer $code,
 \Exception $previous = null
);

Non-static method is called when creating class instance and allows performing actions within it when object is created.

Parameters

ParameterDescriptionVersion
$messageException message
$codeCode that throws exception.
$previousPrevious exception. Used for building chain of exceptions.

Example



© «Bitrix24», 2001-2022
Up