Electroneum
tools::error::block_parse_error Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::block_parse_error:
Collaboration diagram for tools::error::block_parse_error:

Public Member Functions

 block_parse_error (std::string &&loc, const cryptonote::blobdata &block_data)
 
const cryptonote::blobdatablock_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 397 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ block_parse_error()

tools::error::block_parse_error::block_parse_error ( std::string &&  loc,
const cryptonote::blobdata block_data 
)
inlineexplicit

Definition at line 399 of file wallet_errors.h.

400  : refresh_error(std::move(loc), "block parse error")
401  , m_block_blob(block_data)
402  {
403  }
refresh_error(std::string &&loc, const std::string &message)
const T & move(const T &t)
Definition: gtest-port.h:1317

Member Function Documentation

◆ block_blob()

const cryptonote::blobdata& tools::error::block_parse_error::block_blob ( ) const
inline

Definition at line 405 of file wallet_errors.h.

405 { return m_block_blob; }

◆ to_string()

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

Definition at line 407 of file wallet_errors.h.

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

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