Build a JSON-RPC error object.
Declared in <rpc/request.h>
<rpc/request.h>
UniValue JSONRPCError( int code, std::string const& message);
A JSON object representing the error.