class Nokogiri::XML::DocumentFragment

def errors

A list of Nokogiri::XML::SyntaxError found when parsing a document
def errors
  document.errors
end