Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Enumerations | Functions
mastercore_errors.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  MPRPCErrorCode {
  MP_INSUF_FUNDS_BPENDI = -1,
  MP_INSUF_FUNDS_APENDI = -2,
  MP_INPUT_NOT_IN_RANGE = -11,
  MP_INPUTS_INVALID = -212,
  MP_REDEMP_ILLEGAL = -233,
  MP_REDEMP_BAD_KEYID = -220,
  MP_REDEMP_FETCH_ERR_PUBKEY = -221,
  MP_REDEMP_INVALID_PUBKEY = -222,
  MP_REDEMP_BAD_VALIDATION = -223,
  MP_ERR_WALLET_ACCESS = -205,
  MP_ERR_INPUTSELECT_FAIL = -206,
  MP_ERR_CREATE_TX = -211,
  MP_ERR_COMMIT_TX = -213,
  MP_TX_NOT_FOUND = -3331,
  MP_TX_UNCONFIRMED = -3332,
  MP_BLOCK_NOT_IN_CHAIN = -3333,
  MP_CROWDSALE_WITHOUT_PROPERTY = -3334,
  MP_INVALID_TX_IN_DB_FOUND = -3335,
  MP_TX_IS_NOT_MASTER_PROTOCOL = -3336
}
 

Functions

std::string error_str (int ec)
 

Enumeration Type Documentation

Enumerator
MP_INSUF_FUNDS_BPENDI 
MP_INSUF_FUNDS_APENDI 
MP_INPUT_NOT_IN_RANGE 
MP_INPUTS_INVALID 
MP_REDEMP_ILLEGAL 
MP_REDEMP_BAD_KEYID 
MP_REDEMP_FETCH_ERR_PUBKEY 
MP_REDEMP_INVALID_PUBKEY 
MP_REDEMP_BAD_VALIDATION 
MP_ERR_WALLET_ACCESS 
MP_ERR_INPUTSELECT_FAIL 
MP_ERR_CREATE_TX 
MP_ERR_COMMIT_TX 
MP_TX_NOT_FOUND 
MP_TX_UNCONFIRMED 
MP_BLOCK_NOT_IN_CHAIN 
MP_CROWDSALE_WITHOUT_PROPERTY 
MP_INVALID_TX_IN_DB_FOUND 
MP_TX_IS_NOT_MASTER_PROTOCOL 

Definition at line 4 of file mastercore_errors.h.

Function Documentation

std::string error_str ( int  ec)
inline

Definition at line 32 of file mastercore_errors.h.

References MP_ERR_COMMIT_TX, MP_ERR_CREATE_TX, MP_ERR_INPUTSELECT_FAIL, MP_ERR_WALLET_ACCESS, MP_INPUT_NOT_IN_RANGE, MP_INPUTS_INVALID, MP_INSUF_FUNDS_APENDI, MP_INSUF_FUNDS_BPENDI, MP_REDEMP_BAD_KEYID, MP_REDEMP_BAD_VALIDATION, MP_REDEMP_FETCH_ERR_PUBKEY, MP_REDEMP_ILLEGAL, and MP_REDEMP_INVALID_PUBKEY.

Referenced by send_MP(), and sendtoowners_MP().

+ Here is the caller graph for this function: