Electroneum
Loading...
Searching...
No Matches
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 }

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/serialization/json_object.h