20#include <xrpl/json/json_value.h>
21#include <xrpl/protocol/ErrorCodes.h>
22#include <xrpl/protocol/RPCErr.h>
23#include <xrpl/protocol/jss.h>
bool isMember(char const *key) const
Return true if the object has a member named key.
@ objectValue
object value (collection of name/value pairs).
void inject_error(error_code_i code, JsonValue &json)
Add or update the json update to reflect the error code.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Json::Value rpcError(int iError)
bool isRpcError(Json::Value jvResult)