1#include <xrpld/rpc/Status.h> 
   22        XRPL_ASSERT(
success, 
"ripple::RPC::codeString : valid TER result");
 
   24        return s1 + 
": " + s2;
 
   31        sStr << info.token.c_str() << 
": " << info.message.c_str();
 
   36    UNREACHABLE(
"ripple::RPC::codeString : invalid type");
 
 
   47    auto& error = value[jss::error];
 
   48    error[jss::code] = 
code_;
 
 
ErrorInfo const & get_error_info(error_code_i code)
Returns an ErrorInfo that reflects the error code.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
bool transResultInfo(TER code, std::string &token, std::string &text)
 
Strings const & messages() const
 
error_code_i toErrorCode() const
Returns the Status as an error_code_i.
 
std::string toString() const
 
std::string message() const
Return the first message, if any.
 
TER toTER() const
Returns the Status as a TER.
 
std::string codeString() const
 
void fillJson(Json::Value &)
Fill a Json::Value with an RPC 2.0 response.