diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-17 03:42:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-17 03:42:36 +0100 |
commit | 7995678e776b719145aeaf9e4409b6dd694c253e (patch) | |
tree | f2fe1d83dd130f63c9b1379fa02477857bd32ecd /src/include | |
parent | dcc80fd35dccf7c4686d267d37c95c38eb5fd36f (diff) | |
download | exchange-7995678e776b719145aeaf9e4409b6dd694c253e.tar.xz |
fix error code use
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_error_codes.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index b6f736811..30df731c0 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -653,6 +653,13 @@ enum TALER_ErrorCode TALER_EC_REFRESH_REVEAL_LINK_SIGNATURE_INVALID = 1382, /** + * The exchange failed to generate the signature as it could not find + * the signing key for the denomination. This response is provided + * with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR. + */ + TALER_EC_REFRESH_REVEAL_KEYS_MISSING = 1383, + + /** * The coin specified in the link request is unknown to the exchange. * This response is provided with HTTP status code MHD_HTTP_NOT_FOUND. */ @@ -940,6 +947,12 @@ enum TALER_ErrorCode TALER_EC_KEYS_HAVE_NOT_NUMERIC = 1900, /** + * We currently cannot find any keys. This reponse is provied with an + * HTTP status code of MHD_HTTP_INTERNAL_SERVER_ERROR. + */ + TALER_EC_KEYS_MISSING = 1901, + + /** * The backend could not find the merchant instance specified in the * request. This response is provided with HTTP status code * MHD_HTTP_NOT_FOUND. |