Electroneum
Loading...
Searching...
No Matches
tools::error::file_error_base< msg_index > Struct Template Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::file_error_base< msg_index >:
Collaboration diagram for tools::error::file_error_base< msg_index >:

Public Member Functions

 file_error_base (std::string &&loc, const std::string &file)
const std::string & file () const
std::string to_string () const
Public Member Functions inherited from tools::error::wallet_error_base< std::logic_error >
const std::string & location () const
std::string to_string () const

Additional Inherited Members

Protected Member Functions inherited from tools::error::wallet_error_base< std::logic_error >
 wallet_error_base (std::string &&loc, const std::string &message)

Detailed Description

template<int msg_index>
struct tools::error::file_error_base< msg_index >

Definition at line 270 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ file_error_base()

template<int msg_index>
tools::error::file_error_base< msg_index >::file_error_base ( std::string && loc,
const std::string & file )
inlineexplicit

Definition at line 272 of file wallet_errors.h.

274 , m_file(file)
275 {
276 }
277
280 , m_file(file)
281 {
282 }
wallet_error_base< std::logic_error > wallet_logic_error
file_error_base(std::string &&loc, const std::string &file)
const std::string & file() const

Member Function Documentation

◆ file()

template<int msg_index>
const std::string & tools::error::file_error_base< msg_index >::file ( ) const
inline

Definition at line 284 of file wallet_errors.h.

284{ return m_file; }

◆ to_string()

template<int msg_index>
std::string tools::error::file_error_base< msg_index >::to_string ( ) const
inline

Definition at line 286 of file wallet_errors.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/wallet/wallet_errors.h