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

#include <imports.h>

Collaboration diagram for wallet::ImportError:
[legend]

Public Member Functions

 ImportError (WalletErrorCode r, bilingual_str e, bool is_wallet_error)
 

Public Attributes

WalletError wallet_error
 
bool is_general_error
 Set to true when a wallet-wide precondition failed before any descriptor was processed (e.g. More...
 

Detailed Description

Definition at line 19 of file imports.h.

Constructor & Destructor Documentation

◆ ImportError()

wallet::ImportError::ImportError ( WalletErrorCode  r,
bilingual_str  e,
bool  is_wallet_error 
)
inline

Definition at line 27 of file imports.h.

Member Data Documentation

◆ is_general_error

bool wallet::ImportError::is_general_error

Set to true when a wallet-wide precondition failed before any descriptor was processed (e.g.

wallet is already rescanning, or wallet is locked). Callers that support top-level errors should surface this as a top-level / call-wide error rather than a per-descriptor failure.

Definition at line 25 of file imports.h.

◆ wallet_error

WalletError wallet::ImportError::wallet_error

Definition at line 20 of file imports.h.


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