Electroneum
cryptonote::json::WRONG_TYPE Struct Reference

#include <json_object.h>

Inheritance diagram for cryptonote::json::WRONG_TYPE:
Collaboration diagram for cryptonote::json::WRONG_TYPE:

Public Member Functions

 WRONG_TYPE (const char *type)
 
- Public Member Functions inherited from cryptonote::json::JSON_ERROR
virtual ~JSON_ERROR ()
 
const char * what () const throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from cryptonote::json::JSON_ERROR
 JSON_ERROR ()
 
- Protected Attributes inherited from cryptonote::json::JSON_ERROR
std::string m
 

Detailed Description

Definition at line 87 of file json_object.h.

Constructor & Destructor Documentation

◆ WRONG_TYPE()

cryptonote::json::WRONG_TYPE::WRONG_TYPE ( const char *  type)
inline

Definition at line 89 of file json_object.h.

90  {
91  m = std::string("Json value has incorrect type, expected: ") + type;
92  }
::std::string string
Definition: gtest-port.h:1097

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