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

Go to the source code of this file.

Macros

#define SCRIPT_ERR_LAST   SCRIPT_ERR_ERROR_COUNT
 

Typedefs

typedef enum ScriptError_t ScriptError
 

Enumerations

enum  ScriptError_t {
  SCRIPT_ERR_OK = 0 , SCRIPT_ERR_UNKNOWN_ERROR , SCRIPT_ERR_EVAL_FALSE , SCRIPT_ERR_OP_RETURN ,
  SCRIPT_ERR_SCRIPT_SIZE , SCRIPT_ERR_PUSH_SIZE , SCRIPT_ERR_OP_COUNT , SCRIPT_ERR_STACK_SIZE ,
  SCRIPT_ERR_SIG_COUNT , SCRIPT_ERR_PUBKEY_COUNT , SCRIPT_ERR_VERIFY , SCRIPT_ERR_EQUALVERIFY ,
  SCRIPT_ERR_CHECKMULTISIGVERIFY , SCRIPT_ERR_CHECKSIGVERIFY , SCRIPT_ERR_NUMEQUALVERIFY , SCRIPT_ERR_BAD_OPCODE ,
  SCRIPT_ERR_DISABLED_OPCODE , SCRIPT_ERR_INVALID_STACK_OPERATION , SCRIPT_ERR_INVALID_ALTSTACK_OPERATION , SCRIPT_ERR_UNBALANCED_CONDITIONAL ,
  SCRIPT_ERR_NEGATIVE_LOCKTIME , SCRIPT_ERR_UNSATISFIED_LOCKTIME , SCRIPT_ERR_SIG_HASHTYPE , SCRIPT_ERR_SIG_DER ,
  SCRIPT_ERR_MINIMALDATA , SCRIPT_ERR_SIG_PUSHONLY , SCRIPT_ERR_SIG_HIGH_S , SCRIPT_ERR_SIG_NULLDUMMY ,
  SCRIPT_ERR_PUBKEYTYPE , SCRIPT_ERR_CLEANSTACK , SCRIPT_ERR_MINIMALIF , SCRIPT_ERR_SIG_NULLFAIL ,
  SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS , SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM , SCRIPT_ERR_DISCOURAGE_UPGRADABLE_TAPROOT_VERSION , SCRIPT_ERR_DISCOURAGE_OP_SUCCESS ,
  SCRIPT_ERR_DISCOURAGE_UPGRADABLE_PUBKEYTYPE , SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH , SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY , SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH ,
  SCRIPT_ERR_WITNESS_MALLEATED , SCRIPT_ERR_WITNESS_MALLEATED_P2SH , SCRIPT_ERR_WITNESS_UNEXPECTED , SCRIPT_ERR_WITNESS_PUBKEYTYPE ,
  SCRIPT_ERR_SCHNORR_SIG_SIZE , SCRIPT_ERR_SCHNORR_SIG_HASHTYPE , SCRIPT_ERR_SCHNORR_SIG , SCRIPT_ERR_TAPROOT_WRONG_CONTROL_SIZE ,
  SCRIPT_ERR_TAPSCRIPT_VALIDATION_WEIGHT , SCRIPT_ERR_TAPSCRIPT_CHECKMULTISIG , SCRIPT_ERR_TAPSCRIPT_MINIMALIF , SCRIPT_ERR_OP_CODESEPARATOR ,
  SCRIPT_ERR_SIG_FINDANDDELETE , SCRIPT_ERR_ERROR_COUNT
}
 

Functions

std::string ScriptErrorString (const ScriptError error)
 

Macro Definition Documentation

◆ SCRIPT_ERR_LAST

#define SCRIPT_ERR_LAST   SCRIPT_ERR_ERROR_COUNT

Definition at line 88 of file script_error.h.

Typedef Documentation

◆ ScriptError

typedef enum ScriptError_t ScriptError

Enumeration Type Documentation

◆ ScriptError_t

Enumerator
SCRIPT_ERR_OK 
SCRIPT_ERR_UNKNOWN_ERROR 
SCRIPT_ERR_EVAL_FALSE 
SCRIPT_ERR_OP_RETURN 
SCRIPT_ERR_SCRIPT_SIZE 
SCRIPT_ERR_PUSH_SIZE 
SCRIPT_ERR_OP_COUNT 
SCRIPT_ERR_STACK_SIZE 
SCRIPT_ERR_SIG_COUNT 
SCRIPT_ERR_PUBKEY_COUNT 
SCRIPT_ERR_VERIFY 
SCRIPT_ERR_EQUALVERIFY 
SCRIPT_ERR_CHECKMULTISIGVERIFY 
SCRIPT_ERR_CHECKSIGVERIFY 
SCRIPT_ERR_NUMEQUALVERIFY 
SCRIPT_ERR_BAD_OPCODE 
SCRIPT_ERR_DISABLED_OPCODE 
SCRIPT_ERR_INVALID_STACK_OPERATION 
SCRIPT_ERR_INVALID_ALTSTACK_OPERATION 
SCRIPT_ERR_UNBALANCED_CONDITIONAL 
SCRIPT_ERR_NEGATIVE_LOCKTIME 
SCRIPT_ERR_UNSATISFIED_LOCKTIME 
SCRIPT_ERR_SIG_HASHTYPE 
SCRIPT_ERR_SIG_DER 
SCRIPT_ERR_MINIMALDATA 
SCRIPT_ERR_SIG_PUSHONLY 
SCRIPT_ERR_SIG_HIGH_S 
SCRIPT_ERR_SIG_NULLDUMMY 
SCRIPT_ERR_PUBKEYTYPE 
SCRIPT_ERR_CLEANSTACK 
SCRIPT_ERR_MINIMALIF 
SCRIPT_ERR_SIG_NULLFAIL 
SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS 
SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM 
SCRIPT_ERR_DISCOURAGE_UPGRADABLE_TAPROOT_VERSION 
SCRIPT_ERR_DISCOURAGE_OP_SUCCESS 
SCRIPT_ERR_DISCOURAGE_UPGRADABLE_PUBKEYTYPE 
SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH 
SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY 
SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH 
SCRIPT_ERR_WITNESS_MALLEATED 
SCRIPT_ERR_WITNESS_MALLEATED_P2SH 
SCRIPT_ERR_WITNESS_UNEXPECTED 
SCRIPT_ERR_WITNESS_PUBKEYTYPE 
SCRIPT_ERR_SCHNORR_SIG_SIZE 
SCRIPT_ERR_SCHNORR_SIG_HASHTYPE 
SCRIPT_ERR_SCHNORR_SIG 
SCRIPT_ERR_TAPROOT_WRONG_CONTROL_SIZE 
SCRIPT_ERR_TAPSCRIPT_VALIDATION_WEIGHT 
SCRIPT_ERR_TAPSCRIPT_CHECKMULTISIG 
SCRIPT_ERR_TAPSCRIPT_MINIMALIF 
SCRIPT_ERR_OP_CODESEPARATOR 
SCRIPT_ERR_SIG_FINDANDDELETE 
SCRIPT_ERR_ERROR_COUNT 

Definition at line 11 of file script_error.h.

Function Documentation

◆ ScriptErrorString()

std::string ScriptErrorString ( const ScriptError  error)

Definition at line 10 of file script_error.cpp.

Here is the caller graph for this function: