Orcus
Public Member Functions | Static Public Member Functions | List of all members
orcus::json::parse_error Class Reference
Inheritance diagram for orcus::json::parse_error:
orcus::parse_error orcus::general_error

Public Member Functions

 parse_error (const std::string &msg, std::ptrdiff_t offset)
 
- Public Member Functions inherited from orcus::parse_error
std::ptrdiff_t offset () const
 
- Public Member Functions inherited from orcus::general_error
 general_error (const std::string &msg)
 
 general_error (const std::string &cls, const std::string &msg)
 
virtual const char * what () const throw ()
 

Static Public Member Functions

static void throw_with (const char *msg_before, char c, const char *msg_after, std::ptrdiff_t offset)
 
static void throw_with (const char *msg_before, const char *p, size_t n, const char *msg_after, std::ptrdiff_t offset)
 

Additional Inherited Members

- Protected Member Functions inherited from orcus::parse_error
 parse_error (const std::string &msg, std::ptrdiff_t offset)
 offset in the stream where the error occurred.
 
 parse_error (const std::string &cls, const std::string &msg, std::ptrdiff_t offset)
 
- Static Protected Member Functions inherited from orcus::parse_error
static std::string build_message (const char *msg_before, char c, const char *msg_after)
 
static std::string build_message (const char *msg_before, const char *p, size_t n, const char *msg_after)