Error changes for offer reserves.

This commit is contained in:
Arthur Britto
2012-12-20 22:02:07 -08:00
parent 099ffbddc0
commit b51ac04aff
2 changed files with 5 additions and 3 deletions

View File

@@ -46,6 +46,7 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
{ tepPATH_DRY, "tepPATH_DRY", "Path could not send partial amount." },
{ tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full amount." },
{ tepINSUF_RESERVE_OFFER, "tepINSUF_RESERVE_OFFER", "Insufficent reserve to create offer." },
{ terDIR_FULL, "terDIR_FULL", "Can not add entry to full dir." },
{ terFUNDS_SPENT, "terFUNDS_SPENT", "Can't set password, password set funds already spent." },

View File

@@ -108,9 +108,10 @@ enum TER // aka TransactionEngineResult
// - Forwarded
// Only allowed as a return code of appliedTransaction when !tapRetry. Otherwise, treated as terRETRY.
// CAUTION: The numerical values for these results are part of the binary formats
tepPARTIAL = 100,
tepPATH_DRY = 101,
tepPATH_PARTIAL = 102,
tepPARTIAL = 100,
tepPATH_DRY = 101,
tepPATH_PARTIAL = 102,
tepINSUF_RESERVE_OFFER = 103,
};
#define isTelLocal(x) ((x) >= telLOCAL_ERROR && (x) < temMALFORMED)