summaryrefslogtreecommitdiff
path: root/src/util.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cr')
-rw-r--r--src/util.cr14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/util.cr b/src/util.cr
index 841a2b2..8c5df5c 100644
--- a/src/util.cr
+++ b/src/util.cr
@@ -1,5 +1,17 @@
module Util
- class ParserError < Exception
+ class FlintError < Exception
+ end
+
+ class ParserError < FlintError
+ end
+
+ class InterpreterError < FlintError
+ end
+
+ class CompilerError < FlintError
+ end
+
+ class NoCompilerAvailableError < CompilerError
end
end