Headless.HtmlList.BuildItemNotFoundException C# (CSharp) Method

BuildItemNotFoundException() private method

Throws the item not found.
private BuildItemNotFoundException ( string value ) : HtmlElementNotFoundException
value string /// The value. ///
return HtmlElementNotFoundException
        private HtmlElementNotFoundException BuildItemNotFoundException(string value)
        {
            var message = string.Format(CultureInfo.CurrentCulture, Resources.HtmlList_NoOptionFoundForValue, value);

            return new HtmlElementNotFoundException(message, Node);
        }