class Nokogiri::XML::SyntaxError

def error?

return true if this is an error
##
def error?
  level == 2
end