Electroneum
tools::error::out_of_hashchain_bounds_error Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::out_of_hashchain_bounds_error:
Collaboration diagram for tools::error::out_of_hashchain_bounds_error:

Public Member Functions

 out_of_hashchain_bounds_error (std::string &&loc)
 
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 445 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ out_of_hashchain_bounds_error()

tools::error::out_of_hashchain_bounds_error::out_of_hashchain_bounds_error ( std::string &&  loc)
inlineexplicit

Definition at line 447 of file wallet_errors.h.

448  : refresh_error(std::move(loc), "Index out of bounds of of hashchain")
449  {
450  }
refresh_error(std::string &&loc, const std::string &message)
const T & move(const T &t)
Definition: gtest-port.h:1317

Member Function Documentation

◆ to_string()

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

Definition at line 452 of file wallet_errors.h.

452 { 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: