summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-12-22 12:37:47 +0100
committerChristian Grothoff <christian@grothoff.org>2018-12-22 12:37:47 +0100
commitacb4b8321ca48c8165d1f12a9b818f87e4418bec (patch)
treef34cec3edf3091ca932c9c7bb209f19d9ac3dc7a /src/include
parent7b10ad08517ea0bd9a8772e046c0671260bcf73f (diff)
downloadexchange-acb4b8321ca48c8165d1f12a9b818f87e4418bec.tar.gz
exchange-acb4b8321ca48c8165d1f12a9b818f87e4418bec.tar.bz2
exchange-acb4b8321ca48c8165d1f12a9b818f87e4418bec.zip
disambiguate error scenarios better
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_error_codes.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 2aff939f1..4123c435e 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1317,6 +1317,28 @@ enum TALER_ErrorCode
TALER_EC_PROPOSAL_ORDER_PARSE_ERROR = 2505,
/**
+ * The backend encountered an error while trying to find the
+ * existing proposal in the database.
+ * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PROPOSAL_STORE_DB_ERROR_HARD = 2506,
+
+ /**
+ * The backend encountered an error while trying to find the
+ * existing proposal in the database.
+ * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PROPOSAL_STORE_DB_ERROR_SOFT = 2507,
+
+ /**
+ * The backend encountered an error: the proposal already
+ * exists.
+ * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PROPOSAL_STORE_DB_ERROR_ALREADY_EXISTS = 2508,
+
+
+ /**
* The client specified an unknown instance for any of the /refund operations
*/
TALER_EC_REFUND_INSTANCE_UNKNOWN = 2600,