Electroneum
tools::error::acc_outs_lookup_error Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::acc_outs_lookup_error:
Collaboration diagram for tools::error::acc_outs_lookup_error:

Public Member Functions

 acc_outs_lookup_error (std::string &&loc, const cryptonote::transaction &tx, const crypto::public_key &tx_pub_key, const cryptonote::account_keys &acc_keys)
 
const cryptonote::transactiontx () const
 
const crypto::public_keytx_pub_key () const
 
const cryptonote::account_keysacc_keys () 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
 

Additional Inherited Members

- Protected Member Functions inherited from tools::error::refresh_error
 refresh_error (std::string &&loc, const std::string &message)
 
- 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 368 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ acc_outs_lookup_error()

tools::error::acc_outs_lookup_error::acc_outs_lookup_error ( std::string &&  loc,
const cryptonote::transaction tx,
const crypto::public_key tx_pub_key,
const cryptonote::account_keys acc_keys 
)
inlineexplicit

Definition at line 370 of file wallet_errors.h.

372  : refresh_error(std::move(loc), "account outs lookup error")
373  , m_tx(tx)
374  , m_tx_pub_key(tx_pub_key)
375  , m_acc_keys(acc_keys)
376  {
377  }
const cryptonote::account_keys & acc_keys() const
const cryptonote::transaction & tx() const
const crypto::public_key & tx_pub_key() const
refresh_error(std::string &&loc, const std::string &message)
const T & move(const T &t)
Definition: gtest-port.h:1317

Member Function Documentation

◆ acc_keys()

const cryptonote::account_keys& tools::error::acc_outs_lookup_error::acc_keys ( ) const
inline

Definition at line 381 of file wallet_errors.h.

381 { return m_acc_keys; }

◆ to_string()

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

Definition at line 383 of file wallet_errors.h.

384  {
385  std::ostringstream ss;
388  return ss.str();
389  }
const cryptonote::transaction & tx() const
std::string to_string() const
std::string obj_to_json_str(T &obj)
Here is the call graph for this function:

◆ tx()

const cryptonote::transaction& tools::error::acc_outs_lookup_error::tx ( ) const
inline

Definition at line 379 of file wallet_errors.h.

379 { return m_tx; }
Here is the caller graph for this function:

◆ tx_pub_key()

const crypto::public_key& tools::error::acc_outs_lookup_error::tx_pub_key ( ) const
inline

Definition at line 380 of file wallet_errors.h.

380 { return m_tx_pub_key; }

The documentation for this struct was generated from the following file: