|
Clio
develop
The XRP Ledger API server.
|
#include <boost/json/object.hpp>#include <rpcspec/Errors.hpp>#include <optional>#include <string_view>

Go to the source code of this file.
Classes | |
| struct | rpc::ClioErrorInfo |
| Holds info about a particular ClioError. More... | |
Namespaces | |
| namespace | rpc |
| This namespace contains all the RPC logic and handlers. | |
Functions | |
| ClioErrorInfo const & | rpc::getErrorInfo (ClioError code) |
| Get the error info object from an clio-specific error code. | |
| boost::json::object | rpc::makeError (Status const &status) |
| Generate JSON from a rpc::Status. | |
| boost::json::object | rpc::makeError (XrpldError err, std::optional< std::string_view > customError=std::nullopt, std::optional< std::string_view > customMessage=std::nullopt) |
| Generate JSON from a rpc::XrpldError. | |
| boost::json::object | rpc::makeError (ClioError err, std::optional< std::string_view > customError=std::nullopt, std::optional< std::string_view > customMessage=std::nullopt) |
| Generate JSON from a rpc::ClioError. | |