summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-10 16:49:45 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-10 16:49:45 +0200
commit70a794b6f93c93ac81b162f55f305beb726a3832 (patch)
treea247555a8ceaf7e8c14d4ea105fc335d299a878b
parente59e9220d2ebc061013d9eb73297a7c063e131e0 (diff)
downloadexchange-70a794b6f93c93ac81b162f55f305beb726a3832.tar.gz
exchange-70a794b6f93c93ac81b162f55f305beb726a3832.tar.bz2
exchange-70a794b6f93c93ac81b162f55f305beb726a3832.zip
add error codes
-rw-r--r--src/include/taler_error_codes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 44c29ca7..cff88857 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1604,6 +1604,12 @@ enum TALER_ErrorCode
TALER_EC_PROPOSAL_REPLY_MALFORMED = 2510,
/**
+ * The merchant returned a malformed response. Error created client-
+ * side.
+ */
+ TALER_EC_REFUND_LOOKUP_INVALID_RESPONSE = 2600,
+
+ /**
* The frontend gave an unknown order id to issue the refund to.
*/
TALER_EC_REFUND_ORDER_ID_UNKNOWN = 2601,
@@ -1643,6 +1649,13 @@ enum TALER_ErrorCode
TALER_EC_PAY_REFUND_SIGNATURE_FAILED = 2606,
/**
+ * The merchant backend is not available of any applicable refund(s)
+ * for this order. Returned with an HTTP status of
+ * #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_REFUND_LOOKUP_NO_REFUND = 2607,
+
+ /**
* The backend knows the instance that was supposed to support the
* tip, but it was not configured for tipping (i.e. has no exchange
* associated with it). Likely to be a configuration error. Returned