1#ifndef SOURCEMETA_CORE_JSONPOINTER_ERROR_H_
2#define SOURCEMETA_CORE_JSONPOINTER_ERROR_H_
4#ifndef SOURCEMETA_CORE_JSONPOINTER_EXPORT
5#include <sourcemeta/core/jsonpointer_export.h>
8#include <sourcemeta/core/json.h>
12namespace sourcemeta::core {
24 [[nodiscard]]
auto what() const noexcept -> const
char *
override {
25 return "The input is not a valid JSON Pointer";
auto column() const noexcept -> std::uint64_t
Get the column number of the error.
Definition json_error.h:54
JSONParseError(const std::uint64_t line, const std::uint64_t column)
Create a parsing error.
Definition json_error.h:29
PointerParseError(const std::uint64_t column)
Create a parsing error.
Definition jsonpointer_error.h:22