30#ifndef PT_JSON_ERROR_H
31#define PT_JSON_ERROR_H
33#include <Pt/Json/Api.h>
44class PT_JSON_API
JsonError :
public std::runtime_error
JsonError(const std::string &what)
Construct with message.
~JsonError()
Destructor.
Definition JsonError.h:57
JsonError(const char *what)
Construct with message.
SyntaxError(const char *what, std::size_t line)
Construct with message and line number.
std::size_t line() const
Line count where the error in the document occured.
Definition JsonError.h:81
~SyntaxError()
Destructor.
Definition JsonError.h:76
SyntaxError(const std::string &what, std::size_t line)
Construct with message and line number.
Read and write JSON ducuments.
Core module.
Definition Allocator.h:33