aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/Errors.kt
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/Errors.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/Errors.kt42
1 files changed, 42 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/Errors.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/Errors.kt
new file mode 100644
index 0000000..8932856
--- /dev/null
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/Errors.kt
@@ -0,0 +1,42 @@
+@file:Suppress("unused")
+package mx.trackermap.TrackerMap.client.infrastructure
+
+import java.lang.RuntimeException
+
+open class ClientException : RuntimeException {
+
+ /**
+ * Constructs an [ClientException] with no detail message.
+ */
+ constructor() : super()
+
+ /**
+ * Constructs an [ClientException] with the specified detail message.
+
+ * @param message the detail message.
+ */
+ constructor(message: kotlin.String) : super(message)
+
+ companion object {
+ private const val serialVersionUID: Long = 123L
+ }
+}
+
+open class ServerException : RuntimeException {
+
+ /**
+ * Constructs an [ServerException] with no detail message.
+ */
+ constructor() : super()
+
+ /**
+ * Constructs an [ServerException] with the specified detail message.
+
+ * @param message the detail message.
+ */
+ constructor(message: kotlin.String) : super(message)
+
+ companion object {
+ private const val serialVersionUID: Long = 456L
+ }
+} \ No newline at end of file