Clio develop
The XRP Ledger API server.
|
A helper that attempts to match rippled reporting mode HTTP errors as close as possible. More...
#include <ErrorHandling.hpp>
Public Member Functions | |
ErrorHelper (std::shared_ptr< web::ConnectionBase > const &connection, std::optional< boost::json::object > request=std::nullopt) | |
void | sendError (rpc::Status const &err) const |
void | sendInternalError () const |
void | sendNotReadyError () const |
void | sendTooBusyError () const |
void | sendJsonParsingError () const |
boost::json::object | composeError (auto const &error) const |
A helper that attempts to match rippled reporting mode HTTP errors as close as possible.