Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
web::impl::ErrorHelper Class Reference

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
 

Detailed Description

A helper that attempts to match rippled reporting mode HTTP errors as close as possible.


The documentation for this class was generated from the following file: