public \Bitrix\Lists\Internals\Error\ErrorCollection::addOne( \Bitrix\Lists\Internals\Error\Error $error );
Non-static method adds an error to a collection.