crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Wrapper::TidyDoc::Exception Class Reference

Class for tidy-html5 document exceptions. More...

#include <TidyDoc.hpp>

Inheritance diagram for crawlservpp::Wrapper::TidyDoc::Exception:
Collaboration diagram for crawlservpp::Wrapper::TidyDoc::Exception:

Public Member Functions

 Exception (const std::string &description)
 

Getter

std::string_view view () const noexcept
 Gets the description of the exception as a view to the underlying string. More...
 

Detailed Description

Class for tidy-html5 document exceptions.

This exception is being thrown when

  • the error buffer could not be set on construction
  • given input could not be parsed successfully
  • given input could not be cleaned and repaired
  • the output could not be written to a TidyBuffer
  • any option could not be set by setOption()
See also
parse, cleanAndRepair, getOutput

Constructor & Destructor Documentation

◆ Exception()

crawlservpp::Wrapper::TidyDoc::Exception::Exception ( const std::string &  description)
inlineexplicit

Member Function Documentation

◆ view()


The documentation for this class was generated from the following file: