aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-12-09 23:58:57 +0100
committerChristian Grothoff <christian@grothoff.org>2017-12-09 23:58:57 +0100
commit2d658cef65046427caa777e41ae311bffd18bd11 (patch)
tree4bf0f54aed549fb68cd72612e52b888c32055a9d /src/include
parentaf6e9f134a6028cec49056a0fc55e4d243229568 (diff)
need a few more error codes
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_error_codes.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index e8a3aaee8..24d738f3b 100644
--- 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,