Bitcoin Core  0.19.99
P2P Digital Currency
Enumerations | Functions
error.h File Reference
#include <string>
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  TransactionError {
  TransactionError::OK, TransactionError::MISSING_INPUTS, TransactionError::ALREADY_IN_CHAIN, TransactionError::P2P_DISABLED,
  TransactionError::MEMPOOL_REJECTED, TransactionError::MEMPOOL_ERROR, TransactionError::INVALID_PSBT, TransactionError::PSBT_MISMATCH,
  TransactionError::SIGHASH_MISMATCH, TransactionError::MAX_FEE_EXCEEDED
}
 

Functions

std::string TransactionErrorString (const TransactionError error)
 
std::string ResolveErrMsg (const std::string &optname, const std::string &strBind)
 
bilingual_str AmountHighWarn (const std::string &optname)
 
bilingual_str AmountErrMsg (const std::string &optname, const std::string &strValue)
 

Enumeration Type Documentation

◆ TransactionError

enum TransactionError
strong
Enumerator
OK 

No error.

MISSING_INPUTS 
ALREADY_IN_CHAIN 
P2P_DISABLED 
MEMPOOL_REJECTED 
MEMPOOL_ERROR 
INVALID_PSBT 
PSBT_MISMATCH 
SIGHASH_MISMATCH 
MAX_FEE_EXCEEDED 

Definition at line 22 of file error.h.

Function Documentation

◆ AmountErrMsg()

bilingual_str AmountErrMsg ( const std::string &  optname,
const std::string &  strValue 
)

Definition at line 49 of file error.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AmountHighWarn()

bilingual_str AmountHighWarn ( const std::string &  optname)

Definition at line 44 of file error.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResolveErrMsg()

std::string ResolveErrMsg ( const std::string &  optname,
const std::string &  strBind 
)

Definition at line 39 of file error.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TransactionErrorString()

std::string TransactionErrorString ( const TransactionError  error)

Definition at line 11 of file error.cpp.

Here is the caller graph for this function: