From 042616899f89d38167632e3ff24b16469a27fbef Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 6 Dec 2017 19:24:00 +0100 Subject: largely fix #5077 --- src/include/taler_error_codes.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 6047e164..e8a3aaee 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -1488,6 +1488,34 @@ enum TALER_ErrorCode */ TALER_EC_TEST_RSA_SIGN_ERROR = 4005, + /* *************** Taler BANK/FAKEBANK error codes *************** */ + + + /** + * Authentication failed for the /admin/add/incoming request. + * Returned with a status code of MHD_HTTP_FORBIDDEN. + */ + TALER_EC_BANK_TRANSFER_NOT_AUHTORIZED = 4101, + + /** + * Authentication failed for the /history request. + * Returned with a status code of MHD_HTTP_FORBIDDEN. + */ + TALER_EC_BANK_HISTORY_NOT_AUHTORIZED = 4151, + + /** + * The bank could not find the wire transfer that was supposed to + * be rejected. + * Returned with a status code of MHD_HTTP_NOT_FOUND. + */ + TALER_EC_BANK_REJECT_NOT_FOUND = 4250, + + /** + * Authentication failed for the /reject request. + * Returned with a status code of MHD_HTTP_FORBIDDEN. + */ + TALER_EC_BANK_REJECT_NOT_AUHTORIZED = 4251, + /** * End of error code range. -- cgit v1.2.3