Bitcoin Core  23.99.0
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 class  TransactionError {
  OK , MISSING_INPUTS , ALREADY_IN_CHAIN , P2P_DISABLED ,
  MEMPOOL_REJECTED , MEMPOOL_ERROR , INVALID_PSBT , PSBT_MISMATCH ,
  SIGHASH_MISMATCH , MAX_FEE_EXCEEDED , EXTERNAL_SIGNER_NOT_FOUND , EXTERNAL_SIGNER_FAILED ,
  INVALID_PACKAGE
}
 

Functions

bilingual_str TransactionErrorString (const TransactionError error)
 
bilingual_str 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 
EXTERNAL_SIGNER_NOT_FOUND 
EXTERNAL_SIGNER_FAILED 
INVALID_PACKAGE 

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 57 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 52 of file error.cpp.

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

◆ ResolveErrMsg()

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

Definition at line 47 of file error.cpp.

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

◆ TransactionErrorString()

bilingual_str TransactionErrorString ( const TransactionError  error)

Definition at line 13 of file error.cpp.

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