libfly
6.2.2
C++20 utility library for Linux, macOS, and Windows
|
#include <json_exception.hpp>
Public Member Functions | |
OutOfRangeJsonException (const Json &json, std::ptrdiff_t offset) noexcept | |
std::ptrdiff_t | offset () const |
![]() | |
JsonException (std::string &&message) noexcept | |
JsonException (const Json &json, std::string &&message) noexcept | |
virtual const char * | what () const noexcept override |
Additional Inherited Members | |
![]() | |
JsonException (const char *class_name, std::string &&message) noexcept | |
Exception to be raised trying to create an iterator that escapes the range [begin, end] of a Json instance.
|
noexcept |
Constructor.
json | The Json instance for which the error was encountered. |
offset | The iterator offset attempted to be accessed. |
std::ptrdiff_t fly::OutOfRangeJsonException::offset | ( | ) | const |