Documentation

addOne

 public
\Bitrix\Lists\Internals\Error\ErrorCollection::addOne(
 \Bitrix\Lists\Internals\Error\Error $error
);

Non-static method adds an error to a collection.

Parameters

ParameterDescriptionVersion
$errorError object.

Example



© «Bitrix24», 2001-2024