Electroneum
Public Member Functions | Private Attributes | List of all members
tools::error::not_enough_money Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::not_enough_money:
Inheritance graph
[legend]
Collaboration diagram for tools::error::not_enough_money:
Collaboration graph
[legend]

Public Member Functions

 not_enough_money (std::string &&loc, uint64_t available, uint64_t tx_amount, uint64_t fee)
 
uint64_t available () const
 
uint64_t tx_amount () 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
 

Private Attributes

uint64_t m_available
 
uint64_t m_tx_amount
 

Additional Inherited Members

- Protected Member Functions inherited from tools::error::transfer_error
 transfer_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)
 

Constructor & Destructor Documentation

◆ not_enough_money()

tools::error::not_enough_money::not_enough_money ( std::string &&  loc,
uint64_t  available,
uint64_t  tx_amount,
uint64_t  fee 
)
inlineexplicit

Member Function Documentation

◆ available()

uint64_t tools::error::not_enough_money::available ( ) const
inline

◆ to_string()

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

◆ tx_amount()

uint64_t tools::error::not_enough_money::tx_amount ( ) const
inline

Member Data Documentation

◆ m_available

uint64_t tools::error::not_enough_money::m_available
private

◆ m_tx_amount

uint64_t tools::error::not_enough_money::m_tx_amount
private

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