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_DRY, "tepPATH_DRY", "Path could not send partial amount." },
{ tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full 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." }, { terDIR_FULL, "terDIR_FULL", "Can not add entry to full dir." },
{ terFUNDS_SPENT, "terFUNDS_SPENT", "Can't set password, password set funds already spent." }, { terFUNDS_SPENT, "terFUNDS_SPENT", "Can't set password, password set funds already spent." },

View File

@@ -111,6 +111,7 @@ enum TER // aka TransactionEngineResult
tepPARTIAL = 100, tepPARTIAL = 100,
tepPATH_DRY = 101, tepPATH_DRY = 101,
tepPATH_PARTIAL = 102, tepPATH_PARTIAL = 102,
tepINSUF_RESERVE_OFFER = 103,
}; };
#define isTelLocal(x) ((x) >= telLOCAL_ERROR && (x) < temMALFORMED) #define isTelLocal(x) ((x) >= telLOCAL_ERROR && (x) < temMALFORMED)