Documentation

Error Constructor

 public
\Bitrix\Lists\Internals\Error\Error::__construct(
 string $message,
 integer|string $code
);

Non-static method creates a new error.

Parameters

ParameterDescriptionVersion
$messageError message.
$codeError code.

Example

$error = new \Bitrix\Lists\Internals\Error\Error($message, $code);


© «Bitrix24», 2001-2024
Up