Electroneum
Loading...
Searching...
No Matches
tools::error::wallet_generic_rpc_error Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::wallet_generic_rpc_error:
Collaboration diagram for tools::error::wallet_generic_rpc_error:

Public Member Functions

 wallet_generic_rpc_error (std::string &&loc, const std::string &request, const std::string &status)
const std::string & status () const
Public Member Functions inherited from tools::error::wallet_rpc_error
const std::string & request () const
std::string to_string () const
Public Member Functions inherited from tools::error::wallet_error_base< std::logic_error >
const std::string & location () const
std::string to_string () const

Additional Inherited Members

Protected Member Functions inherited from tools::error::wallet_rpc_error
 wallet_rpc_error (std::string &&loc, const std::string &message, const std::string &request)
Protected Member Functions inherited from tools::error::wallet_error_base< std::logic_error >
 wallet_error_base (std::string &&loc, const std::string &message)

Detailed Description

Definition at line 797 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ wallet_generic_rpc_error()

tools::error::wallet_generic_rpc_error::wallet_generic_rpc_error ( std::string && loc,
const std::string & request,
const std::string & status )
inlineexplicit

Definition at line 799 of file wallet_errors.h.

800 : wallet_rpc_error(std::move(loc), std::string("error in ") + request + " RPC: " + status, request),
801 m_status(status)
802 {
803 }
const std::string & status() const
const std::string & request() const
wallet_rpc_error(std::string &&loc, const std::string &message, const std::string &request)
Here is the call graph for this function:

Member Function Documentation

◆ status()

const std::string & tools::error::wallet_generic_rpc_error::status ( ) const
inline

Definition at line 804 of file wallet_errors.h.

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

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