[#JSONRPCError] = JSONRPCError :mrdocs: Build a JSON‐RPC error object. == Synopsis Declared in `<rpc/request.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:UniValue.adoc[UniValue] JSONRPCError( int code, std::string const& message); ---- == Return Value A JSON object representing the error. == Parameters [cols="1,4"] |=== | Name| Description | *code* | The numeric error code. | *message* | The human‐readable error message. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#