aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions
diff options
context:
space:
mode:
authorMarvin Borner2019-08-12 18:41:05 +0200
committerMarvin Borner2019-08-12 18:41:05 +0200
commitd9d9fbdd9d13a5eadc5c57ac19405983cfe11b2e (patch)
treebd0df880a66ae490384aa48ab2688632e73fbf1e /src/exceptions
parentbf5882f74f79a15dc5688e813e7d42ae62a44263 (diff)
Improved exception handling
Diffstat (limited to 'src/exceptions')
-rw-r--r--src/exceptions/UnknownType.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exceptions/UnknownType.kt b/src/exceptions/UnknownType.kt
new file mode 100644
index 0000000..4c348a5
--- /dev/null
+++ b/src/exceptions/UnknownType.kt
@@ -0,0 +1,3 @@
+package exceptions
+
+class UnknownType(token: String = "") : Exception("Token type not known: $token") \ No newline at end of file