summaryrefslogtreecommitdiff
path: root/src/main/kotlin/except/FailedAuthenticationException.kt
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-07 19:58:20 +0200
committerEdoardo La Greca2025-08-07 19:58:20 +0200
commitaba9d0e6b869eee8e73f9f570394122bca57a1a9 (patch)
tree396316169a90631b9c0b75fc7eba374364882202 /src/main/kotlin/except/FailedAuthenticationException.kt
parent98e568c89fb5e8f5a3c118382af2a73119ad120d (diff)
move FailedAuthenticationException to except package
Diffstat (limited to 'src/main/kotlin/except/FailedAuthenticationException.kt')
-rw-r--r--src/main/kotlin/except/FailedAuthenticationException.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/kotlin/except/FailedAuthenticationException.kt b/src/main/kotlin/except/FailedAuthenticationException.kt
new file mode 100644
index 0000000..94935c3
--- /dev/null
+++ b/src/main/kotlin/except/FailedAuthenticationException.kt
@@ -0,0 +1,8 @@
+package except
+
+/**
+ * The authentication with the remote part failed.
+ *
+ * @param reason A human-readable reason for which the authentication failed.
+ */
+class FailedAuthenticationException(val reason: String) : Exception("Authentication with remote host failed: $reason") \ No newline at end of file