Electroneum
tools::error::wallet_files_doesnt_correspond Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::wallet_files_doesnt_correspond:
Collaboration diagram for tools::error::wallet_files_doesnt_correspond:

Public Member Functions

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

Detailed Description

Definition at line 857 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ wallet_files_doesnt_correspond()

tools::error::wallet_files_doesnt_correspond::wallet_files_doesnt_correspond ( std::string &&  loc,
const std::string &  keys_file,
const std::string &  wallet_file 
)
inlineexplicit

Definition at line 859 of file wallet_errors.h.

860  : wallet_logic_error(std::move(loc), "file " + wallet_file + " does not correspond to " + keys_file)
861  {
862  }
wallet_error_base< std::logic_error > wallet_logic_error
const T & move(const T &t)
Definition: gtest-port.h:1317
const std::string & wallet_file() const

Member Function Documentation

◆ keys_file()

const std::string& tools::error::wallet_files_doesnt_correspond::keys_file ( ) const
inline

Definition at line 864 of file wallet_errors.h.

864 { return m_keys_file; }

◆ to_string()

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

Definition at line 867 of file wallet_errors.h.

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

◆ wallet_file()

const std::string& tools::error::wallet_files_doesnt_correspond::wallet_file ( ) const
inline

Definition at line 865 of file wallet_errors.h.

865 { return m_wallet_file; }

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