New tef for incorrect prior transaction.

This commit is contained in:
JoelKatz
2013-05-26 16:50:16 -07:00
parent 79134e835e
commit 344adf445a
2 changed files with 2 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
{ tefINTERNAL, "tefINTERNAL", "Internal error." },
{ tefNO_AUTH_REQUIRED, "tefNO_AUTH_REQUIRED", "Auth is not required." },
{ tefPAST_SEQ, "tefPAST_SEQ", "This sequence number has already past." },
{ tefWRONG_PRIOR, "tefWRONG_PRIOR", "This previous transaction does not match." },
{ telLOCAL_ERROR, "telLOCAL_ERROR", "Local failure." },
{ telBAD_DOMAIN, "telBAD_DOMAIN", "Domain too long." },

View File

@@ -83,6 +83,7 @@ enum TER // aka TransactionEngineResult
tefINTERNAL,
tefNO_AUTH_REQUIRED, // Can't set auth if auth is not required.
tefPAST_SEQ,
tefWRONG_PRIOR,
// -99 .. -1: R Retry (sequence too high, no funds for txn fee, originating account non-existent)
// Causes: