peerplays-fc/include/fc/json_rpc_error_object.hpp
Daniel Larimer 9225ab4726 error object
2012-11-11 22:05:49 -05:00

16 lines
389 B
C++

#pragma once
namespace fc { namespace json {
struct error_object {
error_object( const fc::string& msg = fc::string(), fc::value v = fc::value(), int64_t c = -32000);
int64_t code;
fc::string message;
fc::optional<fc::value> data;
};
} }
#include <fc/reflect.hpp>
FC_REFLECT( fc::json::error_object, (code)(message)(data) )