Electroneum
tools::error::tx_parse_error Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::tx_parse_error:
Collaboration diagram for tools::error::tx_parse_error:

Public Member Functions

 tx_parse_error (std::string &&loc, const cryptonote::blobdata &tx_blob)
 
const cryptonote::blobdatatx_blob () 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 418 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ tx_parse_error()

tools::error::tx_parse_error::tx_parse_error ( std::string &&  loc,
const cryptonote::blobdata tx_blob 
)
inlineexplicit

Definition at line 420 of file wallet_errors.h.

421  : refresh_error(std::move(loc), "transaction parse error")
422  , m_tx_blob(tx_blob)
423  {
424  }
const T & move(const T &t)
Definition: gtest-port.h:1317
refresh_error(std::string &&loc, const std::string &message)
const cryptonote::blobdata & tx_blob() const

Member Function Documentation

◆ to_string()

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

Definition at line 428 of file wallet_errors.h.

428 { return refresh_error::to_string(); }
std::string to_string() const
Here is the call graph for this function:

◆ tx_blob()

const cryptonote::blobdata& tools::error::tx_parse_error::tx_blob ( ) const
inline

Definition at line 426 of file wallet_errors.h.

426 { return m_tx_blob; }

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