Electroneum
Loading...
Searching...
No Matches
tools::error::failed_rpc_request< Base, msg_index > Struct Template Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::failed_rpc_request< Base, msg_index >:
Collaboration diagram for tools::error::failed_rpc_request< Base, msg_index >:

Public Member Functions

 failed_rpc_request (std::string &&loc, const std::string &status)
const std::string & status () const
std::string to_string () const

Detailed Description

template<typename Base, int msg_index>
struct tools::error::failed_rpc_request< Base, msg_index >

Definition at line 139 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ failed_rpc_request()

template<typename Base, int msg_index>
tools::error::failed_rpc_request< Base, msg_index >::failed_rpc_request ( std::string && loc,
const std::string & status )
inlineexplicit

Definition at line 141 of file wallet_errors.h.

Member Function Documentation

◆ status()

template<typename Base, int msg_index>
const std::string & tools::error::failed_rpc_request< Base, msg_index >::status ( ) const
inline

Definition at line 147 of file wallet_errors.h.

147{ return m_status; }
Here is the caller graph for this function:

◆ to_string()

template<typename Base, int msg_index>
std::string tools::error::failed_rpc_request< Base, msg_index >::to_string ( ) const
inline

Definition at line 149 of file wallet_errors.h.

150 {
152 ss << Base::to_string() << ", status = " << status();
153 return ss.str();
154 }

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/wallet/wallet_errors.h