summaryrefslogtreecommitdiff
path: root/src/Errors.ml
diff options
context:
space:
mode:
authorSon Ho2021-11-18 18:24:58 +0100
committerSon Ho2021-11-18 18:24:58 +0100
commitef830bd7bedcad8b465aa4ac92cff30649426ea4 (patch)
tree416f7e8f843c42b15726f72d3c62a55e3e198b83 /src/Errors.ml
parente4c3e2db8c3f83dac1b5eae3086e6488720f6b17 (diff)
Start working on end_borrow
Diffstat (limited to '')
-rw-r--r--src/Errors.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Errors.ml b/src/Errors.ml
index dcdc9102..b9263d5a 100644
--- a/src/Errors.ml
+++ b/src/Errors.ml
@@ -3,3 +3,7 @@ exception IntegerOverflow of unit
exception Unimplemented of string
let unimplemented msg = raise (Unimplemented ("unimplemented: " ^ msg))
+
+exception Unreachable of string
+
+let unreachable msg = raise (Unreachable ("unreachable: " ^ msg))