gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: Using EBICS_PROCESSING_ERROR for "not


From: gnunet
Subject: [libeufin] branch master updated: Using EBICS_PROCESSING_ERROR for "not implemented".
Date: Tue, 31 Aug 2021 11:57:02 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 9ef5733  Using EBICS_PROCESSING_ERROR for "not implemented".
9ef5733 is described below

commit 9ef5733df5c35e4dbb8ecee24246a31d46c6ea50
Author: MS <ms@taler.net>
AuthorDate: Mon Aug 30 22:56:26 2021 -1100

    Using EBICS_PROCESSING_ERROR for "not implemented".
    
    Returned as response to C52.
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index 739b3e7..8db3e72 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -467,6 +467,10 @@ private fun constructCamtResponse(type: Int, subscriber: 
EbicsSubscriberEntity):
     } else Pair(parseDashedDate("1970-01-01"), LocalDateTime.now())
 
     */
+    if (type != 53) throw EbicsRequestError(
+        "[EBICS_PROCESSING_ERROR] C52 not implemented",
+        "091116"
+    )
     /**
      * FIXME: when this function throws an exception, it makes a JSON response 
being responded.
      * That is bad, because here we're inside a Ebics handler and only XML 
should

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]