Electroneum
Public Member Functions | Private Attributes | List of all members
tools::error::tx_rejected Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::tx_rejected:
Inheritance graph
[legend]
Collaboration diagram for tools::error::tx_rejected:
Collaboration graph
[legend]

Public Member Functions

 tx_rejected (std::string &&loc, const cryptonote::transaction &tx, const std::string &status, const std::string &reason)
 
const cryptonote::transactiontx () const
 
const std::string & status () const
 
const std::string & reason () 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
 

Private Attributes

cryptonote::transaction m_tx
 
std::string m_status
 
std::string m_reason
 

Additional Inherited Members

- Protected Member Functions inherited from tools::error::transfer_error
 transfer_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)
 

Constructor & Destructor Documentation

◆ tx_rejected()

tools::error::tx_rejected::tx_rejected ( std::string &&  loc,
const cryptonote::transaction tx,
const std::string &  status,
const std::string &  reason 
)
inlineexplicit

Member Function Documentation

◆ reason()

const std::string& tools::error::tx_rejected::reason ( ) const
inline

◆ status()

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

◆ to_string()

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

◆ tx()

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

Member Data Documentation

◆ m_reason

std::string tools::error::tx_rejected::m_reason
private

◆ m_status

std::string tools::error::tx_rejected::m_status
private

◆ m_tx

cryptonote::transaction tools::error::tx_rejected::m_tx
private

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