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

422  : refresh_error(std::move(loc), "transaction parse error")
423  , m_tx_blob(tx_blob)
424  {
425  }
refresh_error(std::string &&loc, const std::string &message)
const T & move(const T &t)
Definition: gtest-port.h:1317
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 429 of file wallet_errors.h.

429 { 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 427 of file wallet_errors.h.

427 { return m_tx_blob; }

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