summaryrefslogtreecommitdiff
path: root/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt')
-rw-r--r--nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt
index 74c1dd32..ae4233c4 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt
@@ -125,7 +125,7 @@ suspend fun HttpClient.postToBank(bankUrl: String, msg: ByteArray, phase: String
try {
return XMLUtil.parseIntoDom(res.bodyAsChannel().toInputStream())
} catch (e: SAXException) {
- throw EbicsError.Protocol("$phase: invalid XML bank reponse", e)
+ throw EbicsError.Protocol("$phase: invalid XML bank response", e)
} catch (e: Exception) {
throw EbicsError.Transport("$phase: failed read bank response", e)
}
@@ -216,7 +216,7 @@ suspend fun ebicsDownload(
if (!parentScope.isActive) {
// First send a proper EBICS transaction failure
receipt(false)
- // Send throw cancelation exception
+ // Send throw cancellation exception
throw CancellationException()
}
}