From bf8c5982a2e79f0b5198a0033dd41e9702d093f9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Apr 2020 22:05:38 +0200 Subject: make exchange API more uniform in how information is returned --- src/include/taler_error_codes.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/include/taler_error_codes.h') diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 94475f19c..cbf01b8f1 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -117,6 +117,13 @@ enum TALER_ErrorCode */ TALER_EC_HOLE_IN_WIRE_FEE_STRUCTURE = 13, + /** + * The version string given does not follow the expected + * CURRENT:REVISION:AGE Format. Generated as an error on the client + * side. + */ + TALER_EC_VERSION_MALFORMED = 14, + /** * The exchange failed to even just initialize its connection to the * database. This response is provided with HTTP status code @@ -1110,6 +1117,12 @@ enum TALER_ErrorCode */ TALER_EC_KEYS_TIMETRAVEL_FORBIDDEN = 1902, + /** + * The keys response was malformed. This error is generated client- + * side. + */ + TALER_EC_KEYS_INVALID = 1903, + /** * The backend could not find the merchant instance specified in the * request. This response is provided with HTTP status code -- cgit v1.2.3