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

Class for JSONPath exceptions. More...

#include <JsonPath.hpp>

Inheritance diagram for crawlservpp::Query::JsonPath::Exception:
Collaboration diagram for crawlservpp::Query::JsonPath::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 JSONPath exceptions.

Throws an exception when

  • the given JSONPath expression is empty
  • no JSONPath query has been defined prior to performing it
  • an error occurs during execution of the query
  • a query that should wield results does not return an array

Constructor & Destructor Documentation

◆ Exception()

crawlservpp::Query::JsonPath::Exception::Exception ( const std::string &  description)
inlineexplicit

Member Function Documentation

◆ view()


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