Simpleson
Public Member Functions | Public Attributes | List of all members
json::invalid_key Class Reference

Exception used for invalid JSON keys. More...

#include <json.h>

Inheritance diagram for json::invalid_key:

Public Member Functions

 invalid_key (const std::string &key)
 Constructor. More...
 
virtual ~invalid_key () throw ()
 Destructor.
 
virtual const char * what () const throw ()
 Returns the invalid key.
 

Public Attributes

const std::string key
 The key used that was invalid.
 

Detailed Description

Exception used for invalid JSON keys.

Constructor & Destructor Documentation

◆ invalid_key()

json::invalid_key::invalid_key ( const std::string &  key)
inline

Constructor.

Parameters
keyThe key that was not valid

The documentation for this class was generated from the following file: