1#include <xrpl/protocol/RPCErr.h>
3#include <xrpl/json/json_value.h>
4#include <xrpl/protocol/ErrorCodes.h>
5#include <xrpl/protocol/jss.h>
bool isMember(char const *key) const
Return true if the object has a member named key.
@ Object
object value (collection of name/value pairs).
void injectError(ErrorCodeI code, json::Value &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(ErrorCodeI iError)
bool isRpcError(json::Value jvResult)