aboutsummaryrefslogtreecommitdiff
path: root/errors.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2017-11-24 09:22:24 +0100
committerSébastien Dailly <sebastien@chimrod.com>2017-11-24 09:23:38 +0100
commita6b5a6bdd138a5ccc6827bcc73580df1e9218820 (patch)
treeff577395c1a5951a61a7234322f927f6ead5ee29 /errors.ml
parentecb6fd62c275af03a07d892313ab3914d81cd40e (diff)
Moved all the code to src directory
Diffstat (limited to 'errors.ml')
-rwxr-xr-xerrors.ml14
1 files changed, 0 insertions, 14 deletions
diff --git a/errors.ml b/errors.ml
deleted file mode 100755
index 3751a60..0000000
--- a/errors.ml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-(** The function is undefined *)
-exception Undefined of UTF8.t * string list
-
-exception TypeError
-
-exception Cycle
-
-let printf formatter = function
- | Undefined (name, args) -> Format.fprintf formatter
- "There is no function '%s' with signature %a"
- (UTF8.to_utf8string name)
- (Format.pp_print_list Format.pp_print_text) args
- | _ -> Format.fprintf formatter "#Error"