commit 2d658cef65046427caa777e41ae311bffd18bd11
parent af6e9f134a6028cec49056a0fc55e4d243229568
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 9 Dec 2017 23:58:57 +0100
need a few more error codes
Diffstat:
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
@@ -1271,13 +1271,25 @@ enum TALER_ErrorCode
*/
TALER_EC_PROPOSAL_LOOKUP_DB_ERROR = 2502,
-
/**
* The proposal being looked up is not found on this merchant.
*/
TALER_EC_PROPOSAL_LOOKUP_NOT_FOUND = 2503,
/**
+ * The proposal had no timestamp and the backend failed to obtain the local time.
+ * Likely to be an internal error.
+ */
+ TALER_EC_PROPOSAL_NO_LOCALTIME = 2504,
+
+ /**
+ * The order provided to the backend could not be parsed, some
+ * required fields were missing or ill-formed.
+ * Returned as a bad request.
+ */
+ TALER_EC_PROPOSAL_ORDER_PARSE_ERROR = 2505,
+
+ /**
* The client specified an unknown instance for any of the /refund operations
*/
TALER_EC_REFUND_INSTANCE_UNKNOWN = 2600,