summaryrefslogtreecommitdiff
path: root/src/main/kotlin/except/RErrorException.kt
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-07 20:07:38 +0200
committerEdoardo La Greca2025-08-07 20:07:38 +0200
commit9bf06f0575e2552cf6dfebb057e5b799ead4ea9f (patch)
tree3da73204f13dbb73f8464a545043d039f5fd146c /src/main/kotlin/except/RErrorException.kt
parent86df6e5f503f6675d39377370276d9f09c0043ef (diff)
move RErrorException to except package
Diffstat (limited to 'src/main/kotlin/except/RErrorException.kt')
-rw-r--r--src/main/kotlin/except/RErrorException.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/kotlin/except/RErrorException.kt b/src/main/kotlin/except/RErrorException.kt
new file mode 100644
index 0000000..c15cbc2
--- /dev/null
+++ b/src/main/kotlin/except/RErrorException.kt
@@ -0,0 +1,8 @@
+package except
+
+/**
+ * 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