Electroneum
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< Base >
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< Base >
 wallet_error_base (std::string &&loc, const std::string &message)
 

Detailed Description

Definition at line 774 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 786 of file wallet_errors.h.

788  , m_request(request)
789  {
790  }
std::string message("Message requiring signing")
const T & move(const T &t)
Definition: gtest-port.h:1317
wallet_error_base< std::logic_error > wallet_logic_error
const std::string & request() const

Member Function Documentation

◆ request()

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

Definition at line 776 of file wallet_errors.h.

776 { return m_request; }

◆ to_string()

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

Definition at line 778 of file wallet_errors.h.

779  {
780  std::ostringstream ss;
781  ss << wallet_logic_error::to_string() << ", request = " << m_request;
782  return ss.str();
783  }
std::string to_string() const
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: