30 #ifndef PT_JSON_ERROR_H
31 #define PT_JSON_ERROR_H
33 #include <Pt/Json/Api.h>
44 class PT_JSON_API
JsonError :
public std::runtime_error
92 #endif // include guard
Core module.
Definition: Allocator.h:33
Exception during JSON processing.
Definition: JsonError.h:45
JsonError(const std::string &what)
Construct with message.
~JsonError()
Destructor.
Definition: JsonError.h:57
~SyntaxError()
Destructor.
Definition: JsonError.h:76
JsonError(const char *what)
Construct with message.
SyntaxError(const char *what, std::size_t line)
Construct with message and line number.
SyntaxError(const std::string &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
Indicates JSON syntax errors.
Definition: JsonError.h:64