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

Class for JSON exceptions. More...

#include <Json.hpp>

Inheritance diagram for crawlservpp::Helper::Json::Exception:
Collaboration diagram for crawlservpp::Helper::Json::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 JSON exceptions.

This exception is being thrown when

  • an error occurs while parsing JSON
  • an error occurs while parsing a JSON text map
  • an error occurs while parsing a JSON array of [pos;length] pairs

Constructor & Destructor Documentation

◆ Exception()

crawlservpp::Helper::Json::Exception::Exception ( const std::string &  description)
inlineexplicit

Member Function Documentation

◆ view()


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