djson v3.1.3
JSON parser
 
Loading...
Searching...
No Matches
error.hpp File Reference
#include <djson/src_loc.hpp>
#include <string>

Go to the source code of this file.

Classes

struct  dj::Error
 Various kinds of parse and IO errors. Contains contextual token and source location if parse error. More...
 

Namespaces

namespace  dj
 

Functions

auto dj::to_string_view (Error::Type type) -> std::string_view
 Obtain stringified Error Type.
 
auto dj::to_string (Error const &error) -> std::string
 Obtain print-friendly error string.