MQTTSuite
Loading...
Searching...
No Matches
nlohmann::JsonPatchFormatException Class Reference

#include <json-patch.hpp>

Inheritance diagram for nlohmann::JsonPatchFormatException:
Collaboration diagram for nlohmann::JsonPatchFormatException:

Public Member Functions

 JsonPatchFormatException (std::string msg)
const char * what () const noexcept override final

Private Attributes

std::string ex_

Detailed Description

Definition at line 8 of file json-patch.hpp.

Constructor & Destructor Documentation

◆ JsonPatchFormatException()

nlohmann::JsonPatchFormatException::JsonPatchFormatException ( std::string msg)
inlineexplicit

Definition at line 11 of file json-patch.hpp.

12 : ex_{std::move(msg)} {}

References ex_.

Member Function Documentation

◆ what()

const char * nlohmann::JsonPatchFormatException::what ( ) const
inlinefinaloverridenoexcept

Definition at line 14 of file json-patch.hpp.

14{ return ex_.c_str(); }

References ex_.

Member Data Documentation

◆ ex_

std::string nlohmann::JsonPatchFormatException::ex_
private

Definition at line 17 of file json-patch.hpp.

Referenced by JsonPatchFormatException(), and what().


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