Electroneum
tools::error::invalid_pregenerated_random Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::invalid_pregenerated_random:
Collaboration diagram for tools::error::invalid_pregenerated_random:

Public Member Functions

 invalid_pregenerated_random (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::wallet_error_base< Base >
 wallet_error_base (std::string &&loc, const std::string &message)
 

Detailed Description

Definition at line 327 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ invalid_pregenerated_random()

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

Definition at line 329 of file wallet_errors.h.

330  : wallet_logic_error(std::move(loc), "invalid pregenerated random for wallet creation/recovery")
331  {
332  }
wallet_error_base< std::logic_error > wallet_logic_error
const T & move(const T &t)
Definition: gtest-port.h:1317

Member Function Documentation

◆ to_string()

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

Definition at line 334 of file wallet_errors.h.

334 { return wallet_logic_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: