Electroneum
tools::error::zero_destination Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::zero_destination:
Collaboration diagram for tools::error::zero_destination:

Public Member Functions

 zero_destination (std::string &&loc)
 
- 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::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)
 

Detailed Description

Definition at line 767 of file wallet_errors.h.

Constructor & Destructor Documentation

◆ zero_destination()

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

Definition at line 769 of file wallet_errors.h.

770  : transfer_error(std::move(loc), "destination amount is zero")
771  {
772  }
transfer_error(std::string &&loc, const std::string &message)
const T & move(const T &t)
Definition: gtest-port.h:1317

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