summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-05 18:51:47 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-05 18:51:47 +0100
commit326f3b2a43d9e18938cb2ac902b4cc9c7423f393 (patch)
tree7b6d75693fefad4e388f57f6aa747a2e049543de /src
parent3abca6d4e698dad1938e87c3003fdad14c08ae71 (diff)
downloadexchange-326f3b2a43d9e18938cb2ac902b4cc9c7423f393.tar.gz
exchange-326f3b2a43d9e18938cb2ac902b4cc9c7423f393.tar.bz2
exchange-326f3b2a43d9e18938cb2ac902b4cc9c7423f393.zip
add EC codes for merchant
Diffstat (limited to 'src')
-rw-r--r--src/include/taler_error_codes.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 4b90281f0..e47cff77c 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -991,6 +991,20 @@ enum TALER_ErrorCode
*/
TALER_EC_PAY_OFFER_EXPIRED = 2121,
+ /**
+ * The "merchant" field is missing in the proposal data.
+ * This response is
+ * provided with HTTP status code MHD_HTTP_BAD_REQUEST.
+ */
+ TALER_EC_PAY_MERCHANT_FIELD_MISSING = 2122,
+
+ /**
+ * Failed computing a hash code (likely server out-of-memory).
+ * This response is
+ * provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PAY_FAILED_COMPUTE_PROPOSAL_HASH = 2123,
+
/**
* Integer overflow with sepcified timestamp argument detected.