summaryrefslogtreecommitdiff
path: root/src/main/kotlin/except/FailedAuthenticationException.kt
diff options
context:
space:
mode:
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