summaryrefslogtreecommitdiff
path: root/src/Errors.ml
diff options
context:
space:
mode:
authorSon Ho2021-11-18 16:03:04 +0100
committerSon Ho2021-11-18 16:03:04 +0100
commite4c3e2db8c3f83dac1b5eae3086e6488720f6b17 (patch)
treeaec0ed2f350468f73ee4cf31cd2c4c75fde5e5bd /src/Errors.ml
parentd79f58d32e141c4441e9393119eecd37eb4c690a (diff)
Add an Errors.ml file
Diffstat (limited to 'src/Errors.ml')
-rw-r--r--src/Errors.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Errors.ml b/src/Errors.ml
new file mode 100644
index 00000000..dcdc9102
--- /dev/null
+++ b/src/Errors.ml
@@ -0,0 +1,5 @@
+exception IntegerOverflow of unit
+
+exception Unimplemented of string
+
+let unimplemented msg = raise (Unimplemented ("unimplemented: " ^ msg))