Files
rippled/include/xrpl/protocol/RPCErr.h
Mayukha Vadari 41c1be2bac refactor: remove Json::Object and related files/classes (#5894)
`Json::Object` and related objects are not used at all, so this change removes `include/xrpl/json/Object.h` and all downstream files. There are a number of minor downstream changes as well.

Full list of deleted classes and functions:
* `Json::Collections`
* `Json::Object`
* `Json::Array`
* `Json::WriterObject`
* `Json::setArray`
* `Json::addObject`
* `Json::appendArray`
* `Json::appendObject`

The last helper function, `copyFrom`, seemed a bit more complex and was actually used in a few places, so it was moved to `LedgerToJson.h` instead of deleting it.
2025-12-15 13:40:08 -05:00

17 lines
272 B
C++

#ifndef XRPL_NET_RPCERR_H_INCLUDED
#define XRPL_NET_RPCERR_H_INCLUDED
#include <xrpl/json/json_value.h>
namespace xrpl {
// VFALCO NOTE these are deprecated
bool
isRpcError(Json::Value jvResult);
Json::Value
rpcError(error_code_i iError);
} // namespace xrpl
#endif