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

#include <wallet_errors.h>

Inheritance diagram for tools::error::wallet_rpc_error:
Collaboration diagram for tools::error::wallet_rpc_error:

Public Member Functions

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

Protected Member Functions

 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 775 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ wallet_rpc_error()

tools::error::wallet_rpc_error::wallet_rpc_error ( std::string && loc,
const std::string & message,
const std::string & request )
inlineexplicitprotected

Definition at line 787 of file wallet_errors.h.

788 : wallet_logic_error(std::move(loc), message)
789 , m_request(request)
790 {
791 }
std::string message("Message requiring signing")
wallet_error_base< std::logic_error > wallet_logic_error
const std::string & request() const
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ request()

const std::string & tools::error::wallet_rpc_error::request ( ) const
inline

Definition at line 777 of file wallet_errors.h.

777{ return m_request; }
Here is the caller graph for this function:

◆ to_string()

std::string tools::error::wallet_rpc_error::to_string ( ) const
inline

Definition at line 779 of file wallet_errors.h.

780 {
781 std::ostringstream ss;
782 ss << wallet_logic_error::to_string() << ", request = " << m_request;
783 return ss.str();
784 }
Here is the call graph for this function:
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