Bitcoin Core 32.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
wallet::ImportResult Struct Reference

#include <imports.h>

Public Member Functions

bool has_error () const
 
 ImportResult ()=default
 
 ImportResult (WalletErrorCode code, std::string message, std::vector< std::string > warnings={}, bool general_error=false)
 

Public Attributes

std::vector< std::string > warnings
 
std::optional< ImportErrorerror
 

Detailed Description

Definition at line 33 of file imports.h.

Constructor & Destructor Documentation

◆ ImportResult() [1/2]

wallet::ImportResult::ImportResult ( )
default

◆ ImportResult() [2/2]

wallet::ImportResult::ImportResult ( WalletErrorCode  code,
std::string  message,
std::vector< std::string >  warnings = {},
bool  general_error = false 
)
inline

Definition at line 42 of file imports.h.

Member Function Documentation

◆ has_error()

bool wallet::ImportResult::has_error ( ) const
inline

Definition at line 37 of file imports.h.

Here is the caller graph for this function:

Member Data Documentation

◆ error

std::optional<ImportError> wallet::ImportResult::error

Definition at line 35 of file imports.h.

◆ warnings

std::vector<std::string> wallet::ImportResult::warnings

Definition at line 34 of file imports.h.


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