aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_error_codes.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-05 22:17:16 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-19 01:05:58 +0200
commit0dfe7c23cb051003ec36707b78010132b577a180 (patch)
treed140044ed25fb90f402e9b20c75a7b9bbd911831 /src/include/taler_error_codes.h
parentce0e66b1606e4767a1f6daf9244823f374d7dc6c (diff)
return fee as well
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r--src/include/taler_error_codes.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index f75464c3..74660303 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -2199,6 +2199,25 @@ enum TALER_ErrorCode
TALER_EC_TIP_PICKUP_UNBLIND_FAILURE = 2812,
/**
+ * We failed to fetch contract terms from our merchant database. The
+ * response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_GET_ORDERS_DB_LOOKUP_ERROR = 2900,
+
+ /**
+ * We failed to find the contract terms from our merchant database.
+ * The response is provided with HTTP status code #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_GET_ORDERS_ID_UNKNOWN = 2901,
+
+ /**
+ * The contract hash provided by the wallet does not match the order.
+ * The response is provided with HTTP status code #MHD_HTTP_FORBIDDEN.
+ */
+ TALER_EC_GET_ORDERS_WRONG_CONTRACT = 2902,
+
+ /**
* We failed to contract terms from our merchant database. The
* response is provided with HTTP status code
* #MHD_HTTP_INTERNAL_SERVER_ERROR.