summaryrefslogtreecommitdiff
path: root/src/LispParsingError.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/LispParsingError.kt')
-rw-r--r--src/LispParsingError.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LispParsingError.kt b/src/LispParsingError.kt
new file mode 100644
index 0000000..f6e76de
--- /dev/null
+++ b/src/LispParsingError.kt
@@ -0,0 +1,4 @@
+package moe.nea.lisp
+
+data class LispParsingError(val baseString: String, val offset: Int, val mes0: String) :
+ Exception("$mes0 at $offset in `$baseString`.") \ No newline at end of file