summaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/RErrorException.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/kotlin/RErrorException.kt b/src/main/kotlin/RErrorException.kt
new file mode 100644
index 0000000..56fdebc
--- /dev/null
+++ b/src/main/kotlin/RErrorException.kt
@@ -0,0 +1,6 @@
+/**
+ * This exception represents an error sent by the remote server as an R-error message.
+ *
+ * @param message The message sent by the server.
+ */
+class RErrorException(val rErrorMessage: String?) : Exception("R-error message received: $rErrorMessage") \ No newline at end of file