|
|
|
@ -72,6 +72,7 @@ namespace tools
|
|
|
|
|
// tx_parse_error
|
|
|
|
|
// get_tx_pool_error
|
|
|
|
|
// out_of_hashchain_bounds_error
|
|
|
|
|
// signature_check_failed
|
|
|
|
|
// transfer_error *
|
|
|
|
|
// get_outs_general_error
|
|
|
|
|
// not_enough_unlocked_money
|
|
|
|
@ -418,6 +419,14 @@ namespace tools
|
|
|
|
|
std::string to_string() const { return refresh_error::to_string(); }
|
|
|
|
|
};
|
|
|
|
|
//----------------------------------------------------------------------------------------------------
|
|
|
|
|
struct signature_check_failed : public wallet_logic_error
|
|
|
|
|
{
|
|
|
|
|
explicit signature_check_failed(std::string&& loc, const std::string& message)
|
|
|
|
|
: wallet_logic_error(std::move(loc), "Signature check failed " + message)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
//----------------------------------------------------------------------------------------------------
|
|
|
|
|
struct transfer_error : public wallet_logic_error
|
|
|
|
|
{
|
|
|
|
|
protected:
|
|
|
|
|